internal: Annotate all components with groups
This commit ensures that the compiler has to check every component against the groups they implement by explicitly annotating the appropriate interfaces.
This commit is contained in:
parent
3455f491ca
commit
890022ae64
29 changed files with 163 additions and 33 deletions
|
|
@ -25,6 +25,10 @@ type Prefixes struct {
|
|||
MStore *mstore.MStore
|
||||
}
|
||||
|
||||
var (
|
||||
_ ingredient.WissKIFetcher = (*Prefixes)(nil)
|
||||
)
|
||||
|
||||
// NoPrefix checks if this WissKI instance is excluded from generating prefixes.
|
||||
// TODO: Move this to the database!
|
||||
func (prefixes *Prefixes) NoPrefix() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue