feat(go): add ‹gofmt› hook

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-02-26 16:33:53 +01:00
parent 0395df5967
commit 51c8acbadf
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -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