Sign in
go
/
tools
/
6ce74ceaddcc4ff081d22ae134f4264a667d394f
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
format
/
bad_format.go.golden
blob: f0c24d6356ebc33ab974a6cbcbb100eab869c30e [
file
] [
log
] [
blame
]
--
gofmt
--
package
format
//@format("package")
import
(
"fmt"
"log"
"runtime"
)
func hello
()
{
var
x
int
//@diag("x", "compiler", "x declared (and|but) not used", "error")
}
func hi
()
{
runtime
.
GOROOT
()
fmt
.
Printf
(
""
)
log
.
Printf
(
""
)
}