-
Notifications
You must be signed in to change notification settings - Fork 415
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 run main.go报错 #81
Comments
目前modes里只有commentmodel这个文件,你另外一个comment文件哪里来的? |
@3xxx mac 系统 不知道那里来的 |
ubuntu 也报错
|
另外那个删掉试试。 |
我的AdminModel.go报错 github.com/3xxx/engineercms/modelsmodels\PassExcelModel.go:42:27: undefined: Select2 |
抱歉,我重新更新了一版可以编译通过的, |
go build -ldflags "-w" |
go run main.go
github.com/3xxx/engineercms/models
models/comment.go:12:6: Comment redeclared in this block
models/CommentModel.go:12:6: other declaration of Comment
models/comment.go:39:19: Comment.TableName redeclared in this block
models/CommentModel.go:41:19: other declaration of TableName
models/comment.go:44:19: Comment.TableEngine redeclared in this block
models/CommentModel.go:46:19: other declaration of TableEngine
models/comment.go:48:19: Comment.TableNameWithPrefix redeclared in this block
models/CommentModel.go:50:19: other declaration of TableNameWithPrefix
models/comment.go:52:6: NewComment redeclared in this block
models/CommentModel.go:54:6: other declaration of NewComment
models/comment.go:55:19: Comment.Find redeclared in this block
models/CommentModel.go:179:19: other declaration of Find
models/comment.go:65:19: Comment.Update redeclared in this block
models/CommentModel.go:98:19: other declaration of Update
models/comment.go:74:19: Comment.Insert redeclared in this block
models/CommentModel.go:107:19: other declaration of Insert
models/PayModel.go:40:15: undefined: UserTemple
The text was updated successfully, but these errors were encountered: