Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { *Config *Help *Banner *Code *Timeout // 合法性验证,包括 // 启动器构造方法合法性验证 // 构造方法合法性验证 Verify bool // 应用描述 Description string // 使用方式 Usage string // 版权 Copyright string // 作者 Authors app.Authors // 元数据 Metadata map[string]any Set bool }
func NewApplication ¶
func NewApplication() *Application
func (*Application) Override ¶
func (a *Application) Override(latest *Application)
type Dependency ¶
func NewDependency ¶ added in v0.3.8
func NewDependency(verify bool) *Dependency
func (*Dependency) Clear ¶ added in v0.3.8
func (d *Dependency) Clear()
type Injection ¶ added in v0.4.9
func NewInjection ¶ added in v0.4.9
func NewInjection() *Injection
Click to show internal directories.
Click to hide internal directories.