goimps is utility for treating imports
Go Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
misc/vim
testdata/testgopath/src
.gitignore
.travis.yml
LICENSE
README.md
benchmark_test.go
dropable.go
dropable_test.go
fmt.go
fmt_test.go
helpers_test.go
importable.go
importable_test.go
main.go
unused.go
unused_test.go
utils.go

README.md

Goimps

Build Status

Installation

go get github.com/ToQoz/goimps

Usage

$ goimps -h
goimps

Usage:

        goimps command


The commands are:

        importable             show import paths of importable packages
        dropable [path]        show import paths of dropable packages in file
        unused [path]          show import paths of unused packages in file.
        fmt [flags] [paths...] drop unused packages and format file(ast as gofmt).
                               if you want to know options for goimps fmt, please run "goimps fmt -h".

If you are Vimmer

misc/vim