https://github.com/dharesh007/challenge2016
I think it's related to package alias. 

    "github.com/go-kit/kit/log"

    "github.com/go-kit/kit/metrics"

works fine.

but    

       kitprometheus "github.com/go-kit/kit/metrics/prometheus"

    stdprometheus "github.com/prometheus/client_golang/prometheus"

gets error.


On Sunday, 2 October 2016 09:37:06 UTC+5:30, topiya...@gmail.com wrote:
>
> I have two import packages and have it in vendor dir.
>
> kitprometheus "github.com/go-kit/kit/metrics/prometheus"
>
> stdprometheus "github.com/prometheus/client_golang/prometheus"
>
>
> error while compile with go1.7: 
> "github.com/bla/bla/vendor/github.com/go-kit/kit/metrics".Counter does not 
> implement "github.com/go-kit/kit/metrics".Counter (wrong type for With method)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to