Skip to content

Instantly share code, notes, and snippets.

@nitishparkar
Created June 18, 2019 14:36
Show Gist options
  • Save nitishparkar/b57f93147e104f8d9929c435364fc6fd to your computer and use it in GitHub Desktop.
Save nitishparkar/b57f93147e104f8d9929c435364fc6fd to your computer and use it in GitHub Desktop.
Run gofmt and fix issues in all go files in the current directory and its subdorectories, excluding ./vendor
gofmt -w $(find . -type f -name '*.go' -not -path "./vendor/*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment