Hi,

I have some packages with some versions in my `go.mod` including some 
indirect dependencies that are needed by some of my direct dependencies. In 
this, there is a particular version of grpc that I want to use (and not the 
latest).

I add the specific version of grpc I want by:

go mod edit -require=google.golang.org/grpc@v1.29.1

which correctly updates the `go.mod` file. But when I run the `go mod 
vendor` next, this grpc line gets deleted and the latest of grpc is fetched 
again. How do I enforce and vendor a particular version of an indirect 
dependency ?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/179f20f2-a4ae-4745-a48d-eb1ff7f8d3can%40googlegroups.com.

Reply via email to