fullstorydev / hauser

Service for moving your Fullstory export files to a data warehouse
MIT License
49 stars 23 forks source link

add pre-commit hook to format go files #56

Closed camphillips22 closed 5 years ago

camphillips22 commented 5 years ago

Added pre-commit hook to format go files during the commit.

camphillips22 commented 5 years ago

Not exactly. It does approximately the same thing, but the one in the fullstory codebase is much more sophisticated and has way too many features for what we are doing. This simply runs gofmt and goimports on the committed files and adds the changes to the commit.