Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
all: flesh out compilation and bring on the required modules
.gitignore | 1 + Makefile | 9 +++++++++ go.mod | 9 +++++++++ go.sum | 6 ++++++
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..84ac528e5a94936f034acd94818c21afa4d24ef7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/momento diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..0187a007a712d4e205bdb580de6e3f07f0652fb8 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +all: momento + +momento: + go build ./cmd/momento + +clean: + -rm -f momento + +.PHONY: all server diff --git a/go.mod b/go.mod new file mode 100644 index 0000000000000000000000000000000000000000..06825c27b1bf8a640c5ccb98290d22f842b88bd8 --- /dev/null +++ b/go.mod @@ -0,0 +1,9 @@ +module git.eletrotupi.com/momento + +go 1.18 + +require ( + github.com/lib/pq v1.10.6 // indirect + golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect + golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000000000000000000000000000000000000..96f629ca5c61bdc13986b1b4a7f8456e326ada4e --- /dev/null +++ b/go.sum @@ -0,0 +1,6 @@ +github.com/lib/pq v1.10.6 h1:jbk+ZieJ0D7EVGJYpL9QTz7/YW6UHbmdnZWYyK5cdBs= +github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=