Skip to content

Instantly share code, notes, and snippets.

@emahiro
Created September 13, 2020 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emahiro/0e5da5316b858f1b5badf3ff65316960 to your computer and use it in GitHub Desktop.
Save emahiro/0e5da5316b858f1b5badf3ff65316960 to your computer and use it in GitHub Desktop.
特定のディレクトリを goimports の対象から外す
find . -type f -name '*.go' | grep -v $IgnoreDir | xargs goimports -local $localPath -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment