Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HasherMock ¶
type HasherMock struct { }
HasherMock that will be used for testing
func (*HasherMock) Compute ¶
func (sha *HasherMock) Compute(s string) []byte
Compute will output the SHA's equivalent of the input string
func (*HasherMock) EmptyHash ¶
func (sha *HasherMock) EmptyHash() []byte
EmptyHash will return the equivalent of empty string SHA's
func (*HasherMock) IsInterfaceNil ¶
func (sha *HasherMock) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
Click to show internal directories.
Click to hide internal directories.