Help us shape the future of Go! Take the 2026 Go Developer Survey

metadatavisitors

package
v0.12.732 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToInsertStatement

func ToInsertStatement(
	columns sqlparser.Columns,
	m formulation.OperationStore,
	svc formulation.Service,
	extended bool, prettyPrinter,
	placeHolderPrettyPrinter *prettyprint.PrettyPrinter,
	requiredOnly bool,
) (string, error)

Types

type SchemaRequestTemplateVisitor

type SchemaRequestTemplateVisitor struct {
	MaxDepth                 int
	Strategy                 string
	PrettyPrinter            *prettyprint.PrettyPrinter
	PlaceholderPrettyPrinter *prettyprint.PrettyPrinter
	// contains filtered or unexported fields
}

func NewSchemaRequestTemplateVisitor

func NewSchemaRequestTemplateVisitor(
	maxDepth int,
	strategy string,
	prettyPrinter, placeHolderPrettyPrinter *prettyprint.PrettyPrinter,
	requiredOnly bool) *SchemaRequestTemplateVisitor

func (*SchemaRequestTemplateVisitor) RetrieveTemplate

func (sv *SchemaRequestTemplateVisitor) RetrieveTemplate(
	sc formulation.Schema,
	method formulation.OperationStore,
	extended bool,
) (map[string]TemplatedProduct, error)

type TemplatedProduct added in v0.5.375

type TemplatedProduct interface {
	GetBody() string
	GetPlaceholder() string
}

func NewTemplatedProduct added in v0.5.375

func NewTemplatedProduct(body, placeholder string) TemplatedProduct

Jump to

Keyboard shortcuts

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