diff --git a/doc/code.html b/doc/code.html index c0efcde66f..4e8c54a1c5 100644 --- a/doc/code.html +++ b/doc/code.html @@ -240,7 +240,7 @@ package main import "fmt" func main() { - fmt.Printf("Hello, world.\n") + fmt.Println("Hello, world.") } @@ -395,7 +395,7 @@ import ( ) func main() { - fmt.Printf(stringutil.Reverse("!oG ,olleH")) + fmt.Println(stringutil.Reverse("!oG ,olleH")) }