format hook

This commit is contained in:
2021-03-26 17:17:52 +01:00
parent 002ab7d205
commit 46207396ef
5 changed files with 258 additions and 245 deletions

3
.hooks/pre-commit Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
go fmt *.go
git add *.go