goimports

(old repo) Tool to fix (add, remove) your Go imports automatically.

  • 所有者: bradfitz/goimports
  • 平台:
  • 许可证: BSD 3-Clause "New" or "Revised" License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.html

It 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!

主要指标

概览
名称与所有者bradfitz/goimports
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2013-06-01 13:08:45
推送于2021-03-31 14:51:15
最后一次提交2014-12-12 10:42:42
发布数0
用户参与
星数1k
关注者数27
派生数74
提交数63
已启用问题?
问题数0
打开的问题数0
拉请求数17
打开的拉请求数0
关闭的拉请求数8
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?