lang: funcs: dage: Have the compiler verify expectations
This engine should fulfill the GraphAPI interface. Specify that here in case it's not obvious.
This commit is contained in:
@@ -29,6 +29,8 @@ import (
|
||||
"github.com/purpleidea/mgmt/util"
|
||||
)
|
||||
|
||||
var _ interfaces.GraphAPI = &Engine{} // ensure it meets this expectation
|
||||
|
||||
type testFunc struct {
|
||||
Name string
|
||||
Type *types.Type
|
||||
|
||||
Reference in New Issue
Block a user