[build] update go.mod and enforce GO111MODULE=on

Signed-off-by: Leo Chen <leo@harmony.one>
pull/630/head
Leo Chen 6 years ago
parent 2a3b4bc3ec
commit 11bd1079f4
  1. 1
      go.mod
  2. 2
      scripts/go_executable_build.sh

@ -16,6 +16,7 @@ require (
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang/mock v1.2.0
github.com/golang/protobuf v1.3.0
github.com/gorilla/handlers v1.4.0
github.com/gorilla/mux v1.7.0
github.com/harmony-one/bls v0.0.1
github.com/hashicorp/golang-lru v0.5.1

@ -1,5 +1,7 @@
#!/usr/bin/env bash
export GO111MODULE=on
declare -A SRC
SRC[harmony]=cmd/harmony/main.go
SRC[txgen]=cmd/client/txgen/main.go

Loading…
Cancel
Save