diff --git a/bucket_test.go b/bucket_test.go index a06a3e6..b7ce32c 100644 --- a/bucket_test.go +++ b/bucket_test.go @@ -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 { diff --git a/cmd/bolt/main.go b/cmd/bolt/main.go index 7cd36ff..aca4398 100644 --- a/cmd/bolt/main.go +++ b/cmd/bolt/main.go @@ -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