Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitOpenWinBrowser ¶
func InitOpenWinBrowser() (fn func(), err error)
Types ¶
type App ¶
type App struct { InitFnObservers []InitFnObserver // contains filtered or unexported fields }
App 结构体 启动应用基本配置
func (*App) NotifyInitFnObservers ¶
type InitFnObserver ¶
type InitFnObserver func() (deferFn func(), err error)
type NewAppOptions ¶
type NewAppOptions func(app *App)
Options方法
func RegisterInitFnObserver ¶
func RegisterInitFnObserver(fn InitFnObserver) NewAppOptions
设置配置文件格式 例如:json,conf 等等
func WithConfigFileExt ¶
func WithConfigFileExt(configFileExt string) NewAppOptions
设置配置文件格式 例如:json,conf 等等
Click to show internal directories.
Click to hide internal directories.