dc0d / couchdb

CouchDB client in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

couchdb

Build Status Coverage Status GoDoc

CouchDB client for Go.

Example

package main

import (
	"log"

	"github.com/zemirco/couchdb"
)

func main() {
	// create a new client
	client, err := couchdb.NewClient("http://127.0.0.1:5984/")
	if err != nil {
		panic(err)
	}
	// get some information about your CouchDB
	info, err := client.Info()
	if err != nil {
		panic(err)
	}
	log.Println(info)

}

More examples.

Test

go test

License

MIT

About

CouchDB client in Go


Languages

Language:Go 99.9%Language:Makefile 0.1%