Provides a pre-commit git hook to lint Go files
This commit is contained in:
@ -15,4 +15,10 @@
|
||||
2. Lancer le serveur
|
||||
```shell
|
||||
make watch
|
||||
```
|
||||
|
||||
3. (Optionnel mais recommandé) Installer le hook Git `pre-commit`
|
||||
```shell
|
||||
rm -f .git/hooks/pre-commit.sample
|
||||
ln -s "$PWD/misc/git-hooks/pre-commit" .git/hooks/pre-commit
|
||||
```
|
Reference in New Issue
Block a user