You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你的仓库中 根目录下 main.go 和 cron.go 中都有main入口,导致 go get时 报错
github.com/EDDYCJY/go-gin-example
go/src/github.com/EDDYCJY/go-gin-example/main.go:21:6: main redeclared in this block
previous declaration at go/src/github.com/EDDYCJY/go-gin-example/cron.go:12:6
go/src/github.com/EDDYCJY/go-gin-example/main.go:28:23: main.func1 redeclared in this block
previous declaration at go/src/github.com/EDDYCJY/go-gin-example/cron.go:16:27
The text was updated successfully, but these errors were encountered:
你的仓库中 根目录下 main.go 和 cron.go 中都有main入口,导致 go get时 报错
github.com/EDDYCJY/go-gin-example
go/src/github.com/EDDYCJY/go-gin-example/main.go:21:6: main redeclared in this block
previous declaration at go/src/github.com/EDDYCJY/go-gin-example/cron.go:12:6
go/src/github.com/EDDYCJY/go-gin-example/main.go:28:23: main.func1 redeclared in this block
previous declaration at go/src/github.com/EDDYCJY/go-gin-example/cron.go:16:27
The text was updated successfully, but these errors were encountered: