Key/Keyer
This commit is contained in:
parent
408103b406
commit
b74cb142f0
3 changed files with 8 additions and 8 deletions
|
|
@ -44,7 +44,7 @@ const (
|
|||
|
||||
type Token []byte
|
||||
|
||||
func (t Token) Hasher() interface{} {
|
||||
func (t Token) Key() interface{} {
|
||||
return string(t)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue