func mustPutSet(bucket *bolt.Bucket, key interface{}) { assertNil(bucket.Put(encoding.Marshal(key), nil)) }
func mustPut(bucket *bolt.Bucket, key, val interface{}) { assertNil(bucket.Put(encoding.Marshal(key), encoding.Marshal(val))) }