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:
James Shubin
2024-01-22 15:19:57 -05:00
parent 26e46a6e18
commit c39fdcb8ac

View File

@@ -29,6 +29,8 @@ import (
"github.com/purpleidea/mgmt/util" "github.com/purpleidea/mgmt/util"
) )
var _ interfaces.GraphAPI = &Engine{} // ensure it meets this expectation
type testFunc struct { type testFunc struct {
Name string Name string
Type *types.Type Type *types.Type