https://github.com/zemirco/couchdb
CouchDB client in Go
https://github.com/zemirco/couchdb
couchdb go
Last synced: 7 months ago
JSON representation
CouchDB client in Go
- Host: GitHub
- URL: https://github.com/zemirco/couchdb
- Owner: zemirco
- License: mit
- Created: 2014-09-03T19:56:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T12:22:19.000Z (almost 8 years ago)
- Last Synced: 2025-03-24T20:22:30.990Z (10 months ago)
- Topics: couchdb, go
- Language: Go
- Size: 157 KB
- Stars: 44
- Watchers: 4
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# couchdb
[](https://travis-ci.org/zemirco/couchdb)
[](https://goreportcard.com/report/github.com/zemirco/couchdb)
[](https://coveralls.io/github/zemirco/couchdb?branch=master)
[](https://godoc.org/github.com/zemirco/couchdb)
CouchDB client for Go.
## Example
```go
package main
import (
"log"
"github.com/zemirco/couchdb"
)
func main() {
u, err := url.Parse("http://127.0.0.1:5984/")
if err != nil {
panic(err)
}
// create a new client
client, err := couchdb.NewClient(u)
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](https://github.com/zemirco/couchdb/blob/master/example/example.go).
## Test
`go test`
## License
MIT