generator

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoutesGenerator

type RoutesGenerator struct {
	PkgName string
	// contains filtered or unexported fields
}

func NewRoutes

func NewRoutes(w io.Writer, pkgName string) *RoutesGenerator

func (*RoutesGenerator) Generate

func (r *RoutesGenerator) Generate(routes []extractor.Route) error

type StructGenerator

type StructGenerator struct {
	PkgName string
	// contains filtered or unexported fields
}

func NewStruct

func NewStruct(w io.Writer, pkgName string) *StructGenerator

func (*StructGenerator) Generate

func (s *StructGenerator) Generate(items []extractor.Struct) error

Jump to

Keyboard shortcuts

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