bigflood / go-replaceimports

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GO tool - replaces import pathes

* usage:
  replaceimports [flags] -f "original-path" -r "new-path" [path ...]
  
* flags:
  -l    list files to be changed
  -w    write result to (source) file instead of stdout
  -d    display diffs instead of rewriting files
  -f "original-path"   import path to find
  -r "new-path"        import path to replace with
  
fork of "https://github.com/bradfitz/goimports"

About

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

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%