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