fix lint
This commit is contained in:
parent
74bf6c6bb6
commit
78a89df393
|
@ -31,7 +31,7 @@ func NewKey(keys ...[]byte) (res Key) {
|
||||||
if len(keys) < 1 {
|
if len(keys) < 1 {
|
||||||
panic("length of parameter keys must not be zero")
|
panic("length of parameter keys must not be zero")
|
||||||
}
|
}
|
||||||
res = Key{[]byte(keys[0])}
|
res = Key{keys[0]}
|
||||||
|
|
||||||
return res.Append(keys[1:]...)
|
return res.Append(keys[1:]...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue