Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradfitz/goimports
(old repo) Tool to fix (add, remove) your Go imports automatically.
https://github.com/bradfitz/goimports
Last synced: 3 days ago
JSON representation
(old repo) Tool to fix (add, remove) your Go imports automatically.
- Host: GitHub
- URL: https://github.com/bradfitz/goimports
- Owner: bradfitz
- License: bsd-3-clause
- Created: 2013-06-01T13:08:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T14:51:15.000Z (over 3 years ago)
- Last Synced: 2024-12-09T05:55:21.948Z (5 days ago)
- Language: Go
- Homepage: https://godoc.org/golang.org/x/tools/cmd/goimports
- Size: 428 KB
- Stars: 1,033
- Watchers: 28
- Forks: 74
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This tool updates your Go import lines, adding missing ones and
removing unreferenced ones.$ go get golang.org/x/tools/cmd/goimports
Note the new location. This project has moved to the official
go.tools repo. Pull requests here will no longer be accepted.
Please use the Go process: http://golang.org/doc/contribute.htmlIt acts the same as gofmt (same flags, etc) but in addition to code
formatting, also fixes imports.See usage and editor integration notes, now moved elsewhere:
http://godoc.org/golang.org/x/tools/cmd/goimports
Happy hacking!