Skip to content

How to use go mod tidy with go_deps when working with .proto files? #1827

Answered by jgautier-dd
Megakuul asked this question in Q&A
Discussion options

You must be logged in to vote

I found a discussion in rules_go that suggests to use:

bazel run @io_bazel_rules_go//go -- mod tidy -e

To ignore errors and continue trying to update the go.mod file.

Source: bazel-contrib/rules_go#4104 (comment)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Megakuul
Comment options

Answer selected by Megakuul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants