-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Reproducer
module test
go 1.24
require (
github.com/gogo/protobuf v1.3.2
google.golang.org/grpc v1.40.0
)
require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
golang.org/x/net v0.0.0-20210908191846-a5e095526f91 // indirect
golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365 // indirect
golang.org/x/text v0.3.6 // indirect
google.golang.org/genproto v0.0.0-20211001223012-bfb93cce50d9 // indirect
google.golang.org/protobuf v1.27.1 // indirect
)
package test
import (
_ "github.com/gogo/protobuf/proto"
_ "google.golang.org/grpc"
)
go mod tidy; go mod vendor
modup
➤ Loading packages list
➤ Getting info about 2 packages
x github.com/gogo/protobuf (exit status 1)
➤ Everything is up-to-date
Problem
go list -m -u -json google.golang.org/grpc
go: can't determine available upgrades using the vendor directory
(Use -mod=mod or -mod=readonly to bypass.)
Solution
Need add -mod=readonly
like in go-mod-upgrade
Metadata
Metadata
Assignees
Labels
No labels