-
Notifications
You must be signed in to change notification settings - Fork 18k
Go modules won't working. this is weired. #36423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is Also, keep in mind that the |
Thank you for your answering. and i get to type go mod why github.com/belogik/goes # github.com/belogik/goes
(main module does not need package github.com/belogik/goes) main module does not need thie package but i can't remove that link in the go.mod file |
Try this: |
$ go mod graph | grep 'github.com/belogik/goes'
github.com/astaxie/[email protected] github.com/belogik/[email protected]
$ go mod why github.com/astaxie/beego
# github.com/astaxie/beego
(main module does not need package github.com/astaxie/beego)
$ go mod graph | grep 'github.com/astaxie/beego'
github.com/appleboy/gofight/[email protected] github.com/astaxie/[email protected]
github.com/astaxie/[email protected] github.com/Knetic/[email protected]+incompatible
github.com/astaxie/[email protected] github.com/beego/[email protected]
github.com/astaxie/[email protected] github.com/beego/[email protected]
github.com/astaxie/[email protected] github.com/belogik/[email protected]
github.com/astaxie/[email protected] github.com/bradfitz/[email protected]
github.com/astaxie/[email protected] github.com/casbin/[email protected]
github.com/astaxie/[email protected] github.com/cloudflare/[email protected]
github.com/astaxie/[email protected] github.com/couchbase/[email protected]
github.com/astaxie/[email protected] github.com/couchbase/[email protected]
github.com/astaxie/[email protected] github.com/couchbase/[email protected]
github.com/astaxie/[email protected] github.com/cupcake/[email protected]
github.com/astaxie/[email protected] github.com/edsrzf/[email protected]
github.com/astaxie/[email protected] github.com/elazarl/[email protected]
github.com/astaxie/[email protected] github.com/go-redis/[email protected]+incompatible
github.com/astaxie/[email protected] github.com/go-sql-driver/[email protected]
github.com/astaxie/[email protected] github.com/gogo/[email protected]
github.com/astaxie/[email protected] github.com/golang/[email protected]
github.com/astaxie/[email protected] github.com/gomodule/[email protected]+incompatible
github.com/astaxie/[email protected] github.com/lib/[email protected]
github.com/astaxie/[email protected] github.com/mattn/[email protected]
github.com/astaxie/[email protected] github.com/pelletier/[email protected]
github.com/astaxie/[email protected] github.com/pkg/[email protected]
github.com/astaxie/[email protected] github.com/siddontang/[email protected]
github.com/astaxie/[email protected] github.com/siddontang/[email protected]
github.com/astaxie/[email protected] github.com/siddontang/[email protected]
github.com/astaxie/[email protected] github.com/ssdb/[email protected]
github.com/astaxie/[email protected] github.com/syndtr/[email protected]
github.com/astaxie/[email protected] github.com/wendal/[email protected]
github.com/astaxie/[email protected] golang.org/x/[email protected]
github.com/astaxie/[email protected] golang.org/x/[email protected]
github.com/astaxie/[email protected] gopkg.in/[email protected] |
Keep digging until you find the one you depend on directly: |
i found it github.com/appleboy/gin-jwt/v2 |
See this: appleboy/gin-jwt#228 |
thank you @aofei i love you |
@Kyocfe @aofei Already fixed appleboy/gin-jwt#229 |
thank you for your quick feedback :) i'll follow it |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
i didn't try yet
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ go mod init $ go test -v go: finding github.com/stretchr/testify/assert latest go: finding go.mongodb.org/mongo-driver/mongo latest go: finding go.mongodb.org/mongo-driver/bson/primitive latest go: finding go.mongodb.org/mongo-driver/mongo/options latest go: finding go.mongodb.org/mongo-driver/bson latest go: finding github.com/xdg/scram latest go: finding github.com/aws/aws-sdk-go/aws latest go: finding github.com/aws/aws-sdk-go/aws/awserr latest go: finding github.com/aws/aws-sdk-go/aws/session latest go: finding github.com/aws/aws-sdk-go/aws/credentials latest go: finding github.com/aws/aws-sdk-go/service/ses latest go: finding github.com/aws/aws-sdk-go/service/s3 latest go: finding github.com/aws/aws-sdk-go/service/s3/s3manager latest go: finding github.com/google/go-cmp/cmp latest go: finding github.com/google/go-cmp/cmp/cmpopts latest go: finding github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus latest go: finding github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub latest go: finding github.com/Azure/go-autorest/autorest/azure latest go: finding github.com/aws/aws-sdk-go v1.27.1 go: finding github.com/aws/aws-sdk-go/service latest go: finding golang.org/x/sync/semaphore latest go: finding golang.org/x/sync latest go: downloading github.com/aws/aws-sdk-go v1.27.1 go: finding github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01 latest go: finding github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01 latest go: finding github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt latest go: finding github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt latest go: finding github.com/Azure/azure-sdk-for-go/services/servicebus latest go: finding github.com/Azure/azure-sdk-for-go/services/eventhub latest go: finding github.com/Azure/azure-sdk-for-go/services latest go: finding github.com/Azure/azure-sdk-for-go v38.0.0+incompatible go: downloading github.com/Azure/azure-sdk-for-go v38.0.0+incompatible go: extracting github.com/aws/aws-sdk-go v1.27.1 go: extracting github.com/Azure/azure-sdk-for-go v38.0.0+incompatible go: updates to go.mod needed, but contents have changed
What did you expect to see?
go.sum file is little weird..
this is fine in the local environment.
but when I try to use it in travis or docker compose the build keeps failing
because I can't find a particular repository.
Result
the belogik/goes repository not found error
i didn't use this repository
but always bring me the repository by the go modules
here is my go.mod file
What did you see instead?
The text was updated successfully, but these errors were encountered: