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
$ go run main.go
main.go:12:2: "./common" is relative, but relative import paths are not supported in module mode
main.go:13:2: "./controllers" is relative, but relative import paths are not supported in module mode
main.go:14:2: "./databases" is relative, but relative import paths are not supported in module mode
main.go:18:2: "./docs" is relative, but relative import paths are not supported in module mode
main.go:20:2: no required module provides package github.com/swaggo/gin-swagger/swaggerFiles; to add it:
go get github.com/swaggo/gin-swagger/swaggerFiles
Any idea what is missing to build user-microservice ?
i'm running with go 1.20.1
The text was updated successfully, but these errors were encountered:
$ go run main.go
main.go:12:2: "./common" is relative, but relative import paths are not supported in module mode
main.go:13:2: "./controllers" is relative, but relative import paths are not supported in module mode
main.go:14:2: "./databases" is relative, but relative import paths are not supported in module mode
main.go:18:2: "./docs" is relative, but relative import paths are not supported in module mode
main.go:20:2: no required module provides package github.com/swaggo/gin-swagger/swaggerFiles; to add it:
go get github.com/swaggo/gin-swagger/swaggerFiles
Any idea what is missing to build user-microservice ?
i'm running with go 1.20.1
The text was updated successfully, but these errors were encountered: