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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?