Sign in
go
/
tools
/
e1e2965795e4255f51639d9a5418448a603b8913
/
.
/
internal
/
lsp
/
testdata
/
format
/
bad_format.go.golden
blob: c2ac5a1a13ebe0c3a4d016dac40bef0f4cf75096 [
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", "error")
}
func hi
()
{
runtime
.
GOROOT
()
fmt
.
Printf
(
""
)
log
.
Printf
(
""
)
}