Skip to content
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

error with relative import #3

Open
le-cardinal opened this issue Mar 3, 2023 · 0 comments
Open

error with relative import #3

le-cardinal opened this issue Mar 3, 2023 · 0 comments

Comments

@le-cardinal
Copy link

le-cardinal commented Mar 3, 2023

$ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant