Skip to content

Instantly share code, notes, and snippets.

@iMega
Last active September 11, 2020 12:40
Show Gist options
  • Save iMega/7bad1a97d39c4efaa916b8bfa6e4171d to your computer and use it in GitHub Desktop.
Save iMega/7bad1a97d39c4efaa916b8bfa6e4171d to your computer and use it in GitHub Desktop.
Golang: format code (all project) with gofumpt
go list -f '{{ .Dir }}' ./... | grep -v 'vendor' | tail -n +2 | xargs gofumports -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment