1
0
mirror of https://github.com/golang/go synced 2024-11-06 19:36:30 -07:00
go/internal/lsp/testdata/imports/needs_imports.go
Rebecca Stambler 8aaa1484dc internal/lsp: add some basic tests for imports
This change adds a few simple tests for the goimports behavior of gopls.
There are still missing cases for non-standard library, but this is a
good start.

Change-Id: I2f9bc2cc876dcabf81413384b83fa3508517adf0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/179918
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-06-03 23:13:51 +00:00

7 lines
98 B
Go

package imports //@import("package")
func goodbye() {
fmt.Printf("HI")
log.Printf("byeeeee")
}