Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Need Golang client example or useful documentation

No replies
  • Login or register to post comments
Wed, 01/09/2013 - 12:24
Me
Offline
Joined: 01/09/2013
Groups: None

Hi there, I'm trying to somehow get from and write to Couchbase thru Go, but I totally do not understand the documentation and the example does not work. Very helpful would be a simple example. Thank you.

Connecting to buckets works.

Using the example: bucket.Set("someKey", []string{"an", "example", "list"})

./server.go:50: cannot use []string literal (type []string) as type int in function argument
./server.go:50: not enough arguments in call to bucket.Set

The client seems to be for 2.0, but not the example.

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker