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

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>
This commit is contained in:
Leon Klingele 2016-11-05 00:57:45 +01:00 committed by Ian Lance Taylor
parent 7179c1acd9
commit c350c5cfdc

View File

@ -51,7 +51,7 @@ func (p *Plugin) Lookup(symName string) (Symbol, error) {
//
// 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