...
1[](https://pkg.go.dev/github.com/go-kivik/kivik/v4/couchdb)
2
3# Kivik CouchDB
4
5CouchDB driver for [Kivik](https://github.com/go-kivik/kivik).
6
7## Usage
8
9This package provides an implementation of the
10[`github.com/go-kivik/kivik/v4/driver`](http://pkg.go.dev/github.com/go-kivik/kivik/v4/driver)
11interface. You must import the driver and can then use the full
12[`Kivik`](http://pkg.go.dev/github.com/go-kivik/kivik/v4) API.
13
14```go
15package main
16
17import (
18 "context"
19
20 kivik "github.com/go-kivik/kivik/v4"
21 _ "github.com/go-kivik/kivik/v4/couchdb" // The CouchDB driver
22)
23
24func main() {
25 client, err := kivik.New(context.TODO(), "couch", "")
26 // ...
27}
28```
29
30## License
31
32This software is released under the terms of the Apache 2.0 license. See
33LICENCE.md, or read the [full license](http://www.apache.org/licenses/LICENSE-2.0).
View as plain text