1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Added gofmt to format command

This commit is contained in:
Mike Farah
2021-06-01 10:52:14 +10:00
parent dd86b5e7f2
commit fae2b2643c
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
find . \( -path ./vendor \) -prune -o -name "*.go" -exec goimports -w {} \;
gofmt -w -s .
go mod tidy
go mod vendor
go mod vendor