Skip to content

Commit

Permalink
[fix]enable go modules
Browse files Browse the repository at this point in the history
Signed-off-by: Cyber-SiKu <[email protected]>
  • Loading branch information
Cyber-SiKu committed Oct 19, 2023
1 parent 7aa35ee commit 05523ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools-v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ install_grpc_protobuf:
# wget ${GITHUB_PROXY}https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip \
# && unzip protoc-${PROTOC_VERSION}-linux-x86_64.zip "bin/protoc" -d /usr/ \
# && rm protoc-${PROTOC_VERSION}-linux-x86_64.zip
# enable Go Modules
go env -w GO111MODULE=on
go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_VERSION}
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION}

Expand Down

0 comments on commit 05523ce

Please sign in to comment.