diff options
| author | Jeff Carr <[email protected]> | 2025-03-22 02:27:07 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-22 02:27:07 -0500 |
| commit | beb811c51d2d59fa0ec66189ec44dae066004299 (patch) | |
| tree | 8257710b0faea6382a61f66539bf0779f76be44a /Makefile | |
day1v0.0.1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..21f69bf --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +all: goimports vet + +vet: + @GO111MODULE=off go vet + @echo this go library package builds okay + +# autofixes your import headers in your golang files +goimports: + goimports -w *.go + +redomod: + rm -f go.* + GO111MODULE= go mod init + GO111MODULE= go mod tidy + +clean: + rm -f *.pb.go + -rm -f go.* + -go-mod-clean --purge |
