...

Text file src/cmd/go/testdata/script/work_vet.txt

Documentation: cmd/go/testdata/script

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

View as plain text