couchbase / go-couchbase

Couchbase client in Go
https://godoc.org/github.com/couchbase/go-couchbase
MIT License
321 stars 92 forks source link

bad strings.Replace call arguments #88

Open quasilyte opened 5 years ago

quasilyte commented 5 years ago

https://github.com/couchbase/go-couchbase/pull/87

- strings.Replace(buf.String(), "`", "` + \"`\" + `", 0))
+ strings.Replace(buf.String(), "`", "` + \"`\" + `", -1))

Reporting an issue, but it's not convenient for me to send a gerrit CL. You can see a fix in a referenced PR.