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