Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ClientGenFile is the path to write the codegen for the dagger API ClientGenFile = "dagger.gen.go" // StarterTemplateFile is the path to write the default module code StarterTemplateFile = "main.go" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoGenerator ¶
func (*GoGenerator) GenerateClient ¶ added in v0.16.3
func (g *GoGenerator) GenerateClient(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
func (*GoGenerator) GenerateModule ¶ added in v0.16.3
func (g *GoGenerator) GenerateModule(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
type PackageInfo ¶
Click to show internal directories.
Click to hide internal directories.