generators

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

Generator @Constructor

func NewGenerator

func NewGenerator(node annotation.Node, ts *ast.TypeSpec, va annotations.Validator) Generator

func (*Generator) Validatable

func (g *Generator) Validatable() model.Validatable

type Output

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

Output @Constructor

func NewOutput

func NewOutput(v model.Validatable) Output

func (Output) Generate

func (o Output) Generate() string

Jump to

Keyboard shortcuts

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