/couchdb

CouchDB client in Go

Primary LanguageGo

couchdb

Build Status GoDoc

CouchDB client for Go.

Example

package main

import "github.com/zemirco/couchdb"

func check(err error) {
  if err != nil {
    panic(err)
  }
}

func main() {

  // create a new client
  client, err := couchdb.NewClient("http://127.0.0.1:5984/")
  check(err)

  // get some information about your CouchDB
  info, err := client.Info()
  check(err)
  fmt.Println(info)

}

More examples.

Test

go test

License

MIT