Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gravedigger ¶
type Gravedigger interface { // Bury stores the given functions Bury(functions []string) error // Dig returns the functions which were never invoked Dig() (functions []string, err error) }
Gravedigger provides methods for inserting and fetching functions from a storage
type NoopGravedigger ¶
type NoopGravedigger struct {
// contains filtered or unexported fields
}
func (*NoopGravedigger) Bury ¶
func (g *NoopGravedigger) Bury(funcs []string) error
Bury buries the given funcs
func (*NoopGravedigger) Dig ¶
func (g *NoopGravedigger) Dig() ([]string, error)
Dig returns all buried funcs
Click to show internal directories.
Click to hide internal directories.