annotations

package
v0.0.0-...-c253f3e Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aaa

type Aaa struct {
	Y int `json:"y"`
	// contains filtered or unexported fields
}

@Api(router="/aaa/aa")

type AnnoApi

type AnnoApi struct {
}

func (*AnnoApi) Run

func (o *AnnoApi) Run()

type Annotation

type Annotation struct {
	Command   string
	Arguments map[string]string
	Package   string
	Struct    map[string]Field
}

type CodeGenerator

type CodeGenerator interface {
	Run()
}

func CreateGenerator

func CreateGenerator(an *Annotation) (g CodeGenerator)

type Field

type Field struct {
	Type string
	Tag  string
}

Jump to

Keyboard shortcuts

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