-
```go
type Stuff struct {
Thing string
}
v := &Stuff{Thing: `hello world`}
buffer := &bytes.Buffer{}
encoder := json.NewEncoder(buffer)
encoder.SetEscapeHTML(false)
_ = encoder.Encode(v)
…
-
```bash
go version
go version go1.11.1 darwin/amd64
env | grep GO
GOPATH=/Users/leigh.schrandt/go
GO111MODULE=on
go get -u github.com/pulumi/kubespy
go: finding github.com/codahale/hdrhisto…
-
Hangs while running the command:
```
(25) try github.com/google/gofuzz@master
^CSignal received: waiting for 1 ops to complete...
(25) ✓ select github.com/google/gofuzz@master w/1 pkgs
(2…
-
**What did you do?**
FYI: I've just tested the Go dependency vulnerability scanner [nancy](https://github.com/sonatype-nexus-community/nancy) on the alertmanager master branch and it found one issu…
-
I have the https://github.com/wellington/go-libsass library working with both Bazel and the Go command line tool, but the `go_path` rule fails to result in a working GOPATH. Since go_path is used for …
-
I (and probably many others) would love to see some benchmarks compared to other libraries, like you did with gjson. Thanks!
-
Unfortunately my company's github organization has some capital letters in it (such as `MyCompany`).
This causes easyjson to fail any time I try to use it:
```
$ ~/workspace/go/src/github.com/MyC…
-
### Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[x] elastic.v6 (for Elasticsearch…
-
if your import has a dependency with a "." in it such as
`import "gopkg.in/inf.v0"`
This will fail to generate the easyjson file properly. It will treat the package as `inf.v0` instead of as `inf`
-
Hi,
Thanks for this neat tool. Would you mind adding json tags to the public structs (`monitor.Metrics` is what I'm particularly after)?
Cheers,
Shmul
shmul updated
6 years ago