commit | c350c5cfdc5a6ed1a135c06517ef29cdd716a935 | [log] [tgz] |
---|---|---|
author | Leon Klingele <git@leonklingele.de> | Sat Nov 05 00:57:45 2016 +0100 |
committer | Ian Lance Taylor <iant@golang.org> | Sat Nov 05 00:23:55 2016 +0000 |
tree | c5d9a6dbcd83c60696e316bb226620864ef00496 | |
parent | 7179c1acd967daea44fb806865e57308ea0c3679 [diff] [blame] |
plugin: fix doc example fmt usage Change-Id: I0520a37a48a56d231a8ac2dc58b2bf1762282760 Reviewed-on: https://go-review.googlesource.com/32795 Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go index e812a2f..5c822bd 100644 --- a/src/plugin/plugin.go +++ b/src/plugin/plugin.go
@@ -51,7 +51,7 @@ // // var V int // -// func F() { fmt.Println("Hello, number %d", V) } +// func F() { fmt.Printf("Hello, number %d\n", V) } // // may be loaded with the Open function and then the exported package // symbols V and F can be accessed