plugin

package
v0.0.0-...-278a4e6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AOP      = Type(1)
	Autowire = Type(2)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGeneratorPluginForOneStruct

type CodeGeneratorPluginForOneStruct interface {
	Name() string
	Type() Type

	Init(markers markers.MarkerValues)
	GenerateSDMetadataForOneStruct(c CodeWriter)
	GenerateInFileForOneStruct(c CodeWriter)
}

type CodeGeneratorPluginForOneStructSorter

type CodeGeneratorPluginForOneStructSorter []CodeGeneratorPluginForOneStruct

func (CodeGeneratorPluginForOneStructSorter) Len

func (CodeGeneratorPluginForOneStructSorter) Less

func (CodeGeneratorPluginForOneStructSorter) Swap

type CodeGeneratorPluginForPkg

type CodeGeneratorPluginForPkg interface {
	GenerateCodeInPkg(c CodeWriter)
}

type CodeWriter

type CodeWriter interface {
	Line(line string)
	Linef(line string, args ...interface{})
	NeedImport(importPath string) string
}

type Type

type Type int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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