generators

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDestinations

func LoadDestinations(c *v4.Context) error

LoadDestinations 加载目标位置数据项

func LoadSources

func LoadSources(c *v4.Context) error

LoadSources 加载来源数据项

Types

type Application

type Application struct {
}

Application 表示 configen app 本身

func (*Application) Run

func (inst *Application) Run() error

Run 应用主入口

type FieldInjector

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

FieldInjector 具体某个字段的注射器

func (*FieldInjector) MakeAssignmentStatement

func (inst *FieldInjector) MakeAssignmentStatement() string

MakeAssignmentStatement 创建注入语句

func (*FieldInjector) MakeGetterFunc

func (inst *FieldInjector) MakeGetterFunc() string

MakeGetterFunc 创建 getter 函数

Jump to

Keyboard shortcuts

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