This commit is contained in:
mossid 2018-09-12 20:46:07 +09:00
parent 74bf6c6bb6
commit 78a89df393
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func NewKey(keys ...[]byte) (res Key) {
if len(keys) < 1 {
panic("length of parameter keys must not be zero")
}
res = Key{[]byte(keys[0])}
res = Key{keys[0]}
return res.Append(keys[1:]...)
}