Merge pull request #28 from gyuho/goreport

goreport + minor fixes
pull/32/head v1.3.1-coreos.1
Gyu-Ho Lee 2017-08-11 16:27:02 -07:00 committed by GitHub
commit e1c92081e5
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Bolt
====
[![Godoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/coreos/bbolt)
[![Go Report Card](https://goreportcard.com/badge/github.com/coreos/bbolt?style=flat-square)](https://goreportcard.com/report/github.com/coreos/bbolt) [![Godoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/coreos/bbolt)
Bolt is a pure Go key/value store inspired by [Howard Chu's][hyc_symas]
[LMDB project][lmdb]. The goal of the project is to provide a simple,

View File

@ -113,6 +113,7 @@ func TestBucket_Get_Capacity(t *testing.T) {
// Ensure slice can be appended to without a segfault.
k = append(k, []byte("123")...)
v = append(v, []byte("123")...)
_, _ = k, v // to pass ineffassign
return nil
}); err != nil {

View File

@ -146,7 +146,7 @@ The commands are:
buckets print a list of buckets
check verifies integrity of bolt database
compact copies a bolt database, compacting it in the process
dump print a hexidecimal dump of a single page
dump print a hexadecimal dump of a single page
get print the value of a key in a bucket
info print basic info
keys print a list of keys in a bucket