Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyEqualer ¶
type DummyEqualer struct {
}
DummyEqualer implements the Equaler interface and can be used by tests. Other than that it has not meaning.
func (DummyEqualer) Equal ¶
func (d DummyEqualer) Equal(u Equaler) bool
Equal returns true if the argument is also an DummyEqualer; otherwise false is returned.
type Equaler ¶
type Equaler interface {
// Returns true if the Equaler object is the same as this object; otherwise false is returned.
// You need to convert the Equaler object using type assertions: https://golang.org/ref/spec#Type_assertions
Equal(Equaler) bool
}
The Equaler interface allows object that implement it, to be compared
Click to show internal directories.
Click to hide internal directories.