go: github.com/micro/[email protected] requires
gocloud.[email protected] requires
contrib.go.opencensus.io/exporter/[email protected] requires
github.com/census-instrumentation/[email protected]: invalid pseudo-version: version before v0.1.0 would have negative patch number
micro/go-config is no longer supported please use go-micro/config
Hi @asim. I'm following the docs here, https://micro.mu/docs/go-config.html#sample-config are these out of date now? I can't find a reference that shows go-config usage with the package path you are mentioning.
@chmorgan aas @asim says, go-config is no more maintained.
It's been moved to go-micro/config
@asim, @milosgajdos83 what is the proper import?
I was using:
"github.com/micro/go-config"
"github.com/micro/go-config/source/file"
which is the cause of the above message, but if I switch this to import:
"github.com/go-config/config"
"github.com/go-config/config/source/file"
I get:
build bitbucket.org/chmorgan/solar_control/src/basiccontroller: cannot load github.com/go-config/config: git ls-remote -q origin in /Users/cmorgan/go/pkg/mod/cache/vcs/147e6d321d2e56acee364e13da41fea4b714e6757f710388ee519842fd55e97b: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/go-config/config/' not found
What is the proper import?
Please read the doc https://micro.mu/docs/go-config.html#new-config
The import path is clearly stated as
github.com/micro/go-micro/config
@asim it was close enough to the old path that I thought it was the same one or that you were suggesting it didn鈥檛 have the micro prefix, there are a number of projects moving to short url modules these days.
Thank you for the clarification and pointer to the docs with the correct import path.