generator

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Args

func Args(args []*parser.Argument2) string

func ArgsW

func ArgsW(args []*parser.Argument2) string

func Body

func Body(key string, rewriter *rewriter.Rewriter) string

func Generate

func Generate(c *config.Config, r *rewriter.Rewriter) error

func GenerateConfig

func GenerateConfig()

func Init

func Init(config *config.Config) error

func Is

func Is(key string, resolverType string) bool

func MiddlewareBody

func MiddlewareBody(key string, rewriter *rewriter.Rewriter) string

func Model_Ref

func Model_Ref(t *parser.GoType) string

func Path

func Path(t *types.Package) string

func Pointer

func Pointer(t *parser.GoType) string

func Resolver_Ref

func Resolver_Ref(t *parser.GoType) string

func Title

func Title(t string) string

func TypeName

func TypeName(t *types.TypeName) string

func Untitle

func Untitle(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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