Skip to content
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

go mod tidy error #50

Closed
richenlin opened this issue May 23, 2023 · 2 comments
Closed

go mod tidy error #50

richenlin opened this issue May 23, 2023 · 2 comments

Comments

@richenlin
Copy link

richenlin commented May 23, 2023

go version 1.19.1

run go mod tidy:

go: finding module for package github.com/acmestack/gorm-plus
github.com/acmestack/gorm-plus: module github.com/acmestack/gorm-plus@latest found (v0.0.15), but does not contain package github.com/acmestack/gorm-plus

@afumu
Copy link
Member

afumu commented May 24, 2023

go get github.com/acmestack/gorm-plus@latest

@richenlin
Copy link
Author

import (
gplus "github.com/acmestack/gorm-plus"
)

替换为

import (
"github.com/acmestack/gorm-plus/gplus"
)

解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants