Sign in
go
/
tools
/
128ec6dfca091cc7d4fe6d18d97911f37c95a590
/
.
/
internal
/
lsp
/
testdata
/
format
/
bad_format.go.in
blob: 9809a7c6c748ae2df97667e20d5df62f691c9ce4 [
file
] [
log
] [
blame
]
package
format
//@format("package")
import
(
"runtime"
"fmt"
"log"
)
func hello
()
{
var
x
int
//@diag("x", "LSP", "x declared but not used")
}
func hi
()
{
runtime
.
GOROOT
()
fmt
.
Printf
(
""
)
log
.
Printf
(
""
)
}