Sign in
go
/
tools
/
66af5afb1625d129f8bfad6f7d860d7750410e9d
/
.
/
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
(
""
)
}