*: go vet fixes

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
pull/28/head
Gyu-Ho Lee 2017-08-11 13:47:10 -07:00
parent 9d07787d9f
commit c3092301af
2 changed files with 2 additions and 1 deletions

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