forked from fsouza/gokabinet
Go bindings for Kyoto Cabinet DBM implementation
License
bernerdschaefer/gokabinet
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Go bindings for kyoto cabinet database More details on Kyoto Cabinet and how to install it (you need its core library to use with): http://fallabs.com/kyotocabinet/ You can install gokabinet using go get: % go get github.com/fsouza/gokabinet/kc After installing it, you can use in your Go code. Here is a simple example: package main import ( "github.com/fsouza/gokabinet/kc" ) func main() { db := kc.Open("/tmp/cache.kch", kc.WRITE) defer db.Close() db.Set("names", "Maria|João|José") db.SetInt("hits", 500) for i := 0; i < 100; i++ { db.Increment("hits", 1) } } For more examples, check the examples directory in the repository. Online docs provided by GoPkgDoc: http://go.pkgdoc.org/github.com/fsouza/gokabinet/kc
About
Go bindings for Kyoto Cabinet DBM implementation
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Go 96.8%
- C 3.2%