Closed jlpettersson closed 2 years ago
When I build this (vendored) in a Go module project, I get this error and the build fails:
/app/vendor/github.com/rs/zerolog/console.go:16:2: cannot find package "." in: /app/vendor/github.com/mattn/go-colorable
Is this any issue with Go Modules configuration?
If I change from go 1.16 in my go.mod file, to go 1.18, then I get these errors:
go 1.16
go.mod
go 1.18
/app/vendor/github.com/go-chi/httplog/config.go:9:2: cannot find package "." in: /app/vendor/github.com/rs/zerolog /app/vendor/github.com/go-chi/httplog/config.go:10:2: cannot find package "." in: /app/vendor/github.com/rs/zerolog/log
When I build this (vendored) in a Go module project, I get this error and the build fails:
Is this any issue with Go Modules configuration?
If I change from
go 1.16
in mygo.mod
file, togo 1.18
, then I get these errors: