Skip to content

IosifSuzuki/go-couch_db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-couch_db

Package that helps interact with CouchDB. The repository is in active development mode. Please feel free to make a pull request.

Example connect to CouchDB

conn, err := connection.NewConnection(client.HttpProtocol, host, port, username, password, logger.DebugLevel)
if err != nil {
	log.Fatalf("can't create connection: %v", err)
}
ok, err := conn.Ping()
if err != nil {
	log.Errorf("pinged to db: %v", err)
} else {
	log.Debugf("pinged to db: %t", ok)
}

Install

go get -u github.com/IosifSuzuki/go-couch_db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages