Text file src/cmd/go/testdata/script/work_vet.txt
1 ! go vet ./a 2 stderr 'fmt.Println call has possible Printf formatting directive' 3 4 -- go.work -- 5 go 1.18 6 7 use ./a 8 -- a/go.mod -- 9 module example.com/a 10 11 go 1.18 12 -- a/a.go -- 13 package a 14 15 import "fmt" 16 17 func A() { 18 fmt.Println("%s") 19 }