diff options
| author | Jeff Carr <[email protected]> | 2025-10-08 00:24:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-08 00:24:25 -0500 |
| commit | 16dd7c48c92289b6ff748db1cfd8bd9707acc892 (patch) | |
| tree | 63dac8e29f4a5a26fba0d1cab262bdb53295f3a8 /Makefile | |
GO Library Template Startv0.0.1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ab46d8f --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: generate vet + +generate: clean + go mod init + go mod tidy + go generate + +go-generate: + rm -f *.pb.go *.patch + +vet: + @GO111MODULE=off go vet + @echo this go library package builds okay + +# autofixes your import headers in your golang files +goimports: + goimports -w *.go + +clean: + rm -f *.pb.go *.patch + -rm -f go.* + -go-mod-clean purge |
