[go-nuts] Re: Framework for application level metric in go

2016-11-25 Thread Victor Vrantchan
Take a look at the go-kit/kit/metrics package. https://godoc.org/github.com/go-kit/kit/metrics The examples folder in the repo has some good usage examples with various metrics providers. On Friday, November 25, 2016 at 1:07:55 PM UTC-5, Parveen Kumar wrote: > > Hi Team, > > is there any tool

[go-nuts] Re: net/http and errors.

2016-11-25 Thread Victor Vrantchan
In Go, you can check if a type satisfies a particular behavior by declaring an interface, and then checking if the type satisfies that interface. In your case, you can check if the error is `Temporrary()` or not. See this snippet as an example: https://play.golang.org/p/Ffyg61iDpB I

[go-nuts] Re: Deleting the /r/golang subreddit

2016-11-24 Thread Victor Vrantchan
I believe you can make a community private. The /r/golang name will be preserved, but no-one can access. -- 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