John Olheiser
c75ed4762a
Reviewed-on: https://gitea.com/jolheiser/imp/pulls/1 Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-committed-by: John Olheiser <john.olheiser@gmail.com> |
||
---|---|---|
.gitignore | ||
.impignore | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
imp.go | ||
main.go | ||
struct.go |
README.md
imp
imp is an opinionated import formatter
The order it follows is:
import (
<stdlib>
<this module's packages>
<other module's packages>
)
imp includes three flags:
--write
will write out the formatting rather than printing--imp-ignore
reads a.impignore
file for globs to include/exclude (.impignore
by default)--verbose
will print out extended information
.impignore
format
The .impignore
file follows a globber format,
which closely resembles a traditional .gitignore
file.