Sokolov Volodymyr

Results 6 comments of Sokolov Volodymyr

`GOBIN` represents `$(go env GOPATH)/bin`. It's an env for the folder with all go-installed binaries. So if I run `go install tool@version` -- it won't add a new dependency in...

I suppose Go install verify the version of the binary using `--version`, checksum or somewhere stored in go mod cache, but right now just by caching `$GOPATH/bin` it won't download...

The first run of `go install` does it, but it's 100% not a brand-new installation for the next calls. Just try it out. The 2nd+ calls are almost instantaneous. It...

Could I get any feedback? I can try to implement this myself, but firstly I wanted to hear the maintainers' thoughts on this feature.

Similar request: https://github.com/uber-go/zap/issues/1365

Working (almost) example of what I'd like to achieve: helper.go: ``` // replacement for zap.Error func Error(err error) zap.Field { var marshaller zapcore.ObjectMarshaler if errors.As(err, &marshaller) { return zap.Inline(zap.DictObject(zap.Error(err), zap.Inline(marshaller)))...