configen1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx application.Context, args []string) error

Types

type ComConfigInfo

type ComConfigInfo struct {
	Enable string

	ID                    string
	Class                 string
	Aliases               string
	InjectionFuncName     string
	TargetTypeSimpleName  string
	TargetTypePackagePath string
	Scope                 string
	InitMethod            string
	DestroyMethod         string
}

ComConfigInfo (Component Config Info)

type DomInjection

type DomInjection struct {
	Name       string // the function name
	TargetType string // like 'package_path#struct_name'
	Properties map[string]string
}

type SourceCodeBuilder

type SourceCodeBuilder interface {
	Begin(packageName string)
	AppendComponent(com *ComConfigInfo)
	End()
	Create() (string, error)
}

func NewSourceCodeBuilder

func NewSourceCodeBuilder() SourceCodeBuilder

Directories

Path Synopsis
demo
car
etc
这个文件是由 starter-configen 工具生成的配置代码,千万不要手工修改里面的任何内容。
这个文件是由 starter-configen 工具生成的配置代码,千万不要手工修改里面的任何内容。

Jump to

Keyboard shortcuts

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