go-microservices icon indicating copy to clipboard operation
go-microservices copied to clipboard

error with relative import

Open le-cardinal opened this issue 2 years ago • 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

le-cardinal avatar Mar 03 '23 09:03 le-cardinal