Skip to content

error with relative import #3

Description

@le-cardinal

$ 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions