goimports

command module
v0.0.0-...-b8364a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2016 License: BSD-3-Clause Imports: 13 Imported by: 0

README

goimports

This tool updates your Go import lines, adding missing ones and removing unreferenced ones.

It acts the same as gofmt (same flags, etc), but in addition to code formatting, also fixes imports.

Improved bradfitz/goimports, better style like the following screenshot.

Screenshot

install

run the following command:

$ go get github.com/ishare/goimports

For more usage guide, type goimports --help.

intellij plugin

Config for File Wathcer plugin, which can be downloaded from intellij repo.

Screenshot

Happy hacking!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL