Documentation ¶
Overview ¶
Package stringkey is an implementation of the "github.com/lleo/go-hamt/key" interface.
Both of these packages are are in separate package namespaces to prevent circular references between "github.com/lleo/go-hamt" and "github.com/lleo/go-hamt/hamt32" and/or "github.com/lleo/go-hamt/hamt64"; as well as "github.com/lleo/go-hamt-functional", "github.com/lleo/go-hamt-functional/hamt32", and "github.com/lleo/go-hamt-functional/hamt64".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringKey ¶
type StringKey struct { key.Base // contains filtered or unexported fields }
StringKey is a simple string implementing the key.Key interface.
func (StringKey) Equals ¶
Equals returns true iff the StringKey exactly matches the key passed it. If The key.Key passed as an argument is not also a StringKey Equals() automatically returns false.