query

package
v29.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Box

func Box(box fs.FS, opts *Options, g *genny.Generator) error

func NewGenerator

func NewGenerator(opts *Options) (*genny.Generator, error)

NewGenerator returns the generator to scaffold a empty query in a module.

Types

type Options

type Options struct {
	AppName     string
	ProtoDir    string
	ProtoVer    string
	ModuleName  string
	ModulePath  string
	QueryName   multiformatname.Name
	Description string
	ResFields   field.Fields
	ReqFields   field.Fields
	Paginated   bool
}

Options ...

func (*Options) ProtoFile

func (opts *Options) ProtoFile(fname string) string

ProtoFile returns the path to the proto folder.

Jump to

Keyboard shortcuts

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