Documentation ¶ Index ¶ Variables func RunTests(t *testing.T, gen Generator, testRoot string, goFiles map[string][]byte, ...) func UpdateExpectedResult(testRoot string, gen Generator, goFiles map[string][]byte, deps []string) type Generator Constants ¶ This section is empty. Variables ¶ View Source var SourceDSL = `` /* 5544-byte string literal not displayed */ Functions ¶ func RunTests ¶ func RunTests(t *testing.T, gen Generator, testRoot string, goFiles map[string][]byte, deps []string) func UpdateExpectedResult ¶ func UpdateExpectedResult(testRoot string, gen Generator, goFiles map[string][]byte, deps []string) Types ¶ type Generator ¶ type Generator interface { Generate(context.Context, string, []string, []string) ([]types.GenerateResult, []error) } Source Files ¶ View all Source files dsl_source_gen.go testing.go update.go Click to show internal directories. Click to hide internal directories.