couchbase / go-couchbase

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

does this library really work #82

Open sinkingsun2 opened 7 years ago

sinkingsun2 commented 7 years ago

I changed the example a little bit err1 := bucket.Set("someKey", 0, []string{"an", "example", "list"}) if err1 != nil { log.Fatalf("Error setting bucket: %v", err1) } because I always get error. on Couchbase 4, I got Error setting bucket: MCResponse status=AUTH_ERROR, opcode=SASL_AUTH, opaque=0, msg: Auth failure on Couchbase 5, I got res=MCResponse status=SUCCESS, opcode=GET, opaque=0, msg: ,err=EOF