feat(go): add ‹gofmt› hook
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
0395df5967
commit
51c8acbadf
1 changed files with 11 additions and 0 deletions
|
@ -54,3 +54,14 @@
|
||||||
types:
|
types:
|
||||||
- rust
|
- rust
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
|
||||||
|
# Go
|
||||||
|
- id: gofmt
|
||||||
|
name: gofmt
|
||||||
|
description: Format Go sources with ‹gofmt›.
|
||||||
|
entry: gofmt
|
||||||
|
args:
|
||||||
|
- "-w"
|
||||||
|
language: system
|
||||||
|
types:
|
||||||
|
- go
|
||||||
|
|
Loading…
Reference in a new issue