Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileType ¶
CompileType returns the compile-time type of the component marker.
Types ¶
type Marker ¶
type Marker interface {
// contains filtered or unexported methods
}
Marker interface that represents something to be scanned for.
To have anathema detect your types, embed them with this marker type. You can embed them in other interface types to turn them into component markers too. This is how, for example, the Resource marker works.
Click to show internal directories.
Click to hide internal directories.