acmestack / gorm-plus

Gorm-plus是基于Gorm的增强版,类似Mybatis-plus语法。Gorm-plus is based on an enhanced version of Gorm, similar to Mybatis-plus syntax.
https://github.com/acmestack/gorm-plus/wiki
Apache License 2.0
276 stars 41 forks source link

go mod tidy error #50

Closed richenlin closed 1 year ago

richenlin commented 1 year ago

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 commented 1 year ago

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

richenlin commented 1 year ago

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

替换为

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

解决