1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:20:23 -07:00

doc: fix fmt usage in code.html

Fixes #25876

Change-Id: I149dbb2afef13cc13fb5722d930377ed918d7e3c
Reviewed-on: https://go-review.googlesource.com/118717
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Tim Cooper 2018-06-13 18:57:40 -03:00 committed by Brad Fitzpatrick
parent fc0e1d2b6f
commit a7d89572be

View File

@ -240,7 +240,7 @@ package main
import "fmt"
func main() {
fmt.Printf("Hello, world.\n")
fmt.Println("Hello, world.")
}
</pre>
@ -395,7 +395,7 @@ import (
)
func main() {
fmt.Printf(stringutil.Reverse("!oG ,olleH"))
fmt.Println(stringutil.Reverse("!oG ,olleH"))
}
</pre>