mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 00:35:25 +03:00
e40aad897f
* move most files * update CI configuration
586 B
586 B
Working with Go in Bazel
Dependencies
Go dependencies are managed by go.mod
and Gazelle.
To add a new Go dependency
- Run
go get
to add the dependency togo.mod
. E.g.
This should updatego get github.com/envoyproxy/protoc-gen-validate@v0.6.2
go.mod
andgo.sum
. - Run Gazelle to import the dependencies to Bazel.
This should updatebazel run //:gazelle-update-repos
go_deps.bzl
.