generator

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx context.Context, schema *introspection.Schema, cfg Config) ([]byte, error)

func IntrospectAndGenerate

func IntrospectAndGenerate(ctx context.Context, c *dagger.Client, cfg Config) ([]byte, error)

Types

type Config

type Config struct {
	Package string
}

type GoGenerator

type GoGenerator struct {
	// contains filtered or unexported fields
}

func (*GoGenerator) Generate

func (g *GoGenerator) Generate(_ context.Context) ([]byte, error)

Directories

Path Synopsis
Go name linting.
Go name linting.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL