Open etsangsplk opened 4 years ago
import "github.com/jessevdk/go-flags"
.... parser := flags.NewParser(server, flags.Default) .....
When I hit save the golang file, "github.com/jessevdk/go-flags" is removed.
I think "go-" is automatically ignored in during go build, so package with this prefix should not be removed as they are not "unsued".
That sounds like something goimports is doing - GoSublime/margo doesn't remove imports AFAIK.
goimports
import "github.com/jessevdk/go-flags"
.... parser := flags.NewParser(server, flags.Default) .....
When I hit save the golang file, "github.com/jessevdk/go-flags" is removed.
I think "go-" is automatically ignored in during go build, so package with this prefix should not be removed as they are not "unsued".