raycad/go-microservices

error with relative import

le-cardinal opened this issue · 0 comments

$ 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