summaryrefslogtreecommitdiff
path: root/example1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'example1/Makefile')
-rw-r--r--example1/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/example1/Makefile b/example1/Makefile
index 7b4c2b6..443064f 100644
--- a/example1/Makefile
+++ b/example1/Makefile
@@ -1,3 +1,11 @@
all:
# go build
GO111MODULE="off" go run main.go
+
+goimports:
+ goimports -w *.go
+
+redomod:
+ rm -f go.*
+ GO111MODULE= go mod init
+ GO111MODULE= go mod tidy