MCPcopy Create free account
hub / github.com/devfeel/dottask / LoadConfig

Method LoadConfig

tasks.go:98–100  ·  view source on GitHub ↗

LoadConfig 如果指定配置文件,初始化配置 Deprecated: Use the LoadFileConfig instead

(configFile string, confType ...interface{})

Source from the content-addressed store, hash-verified

96// LoadConfig 如果指定配置文件,初始化配置
97// Deprecated: Use the LoadFileConfig instead
98func (service *TaskService) LoadConfig(configFile string, confType ...interface{}) *TaskService {
99 return service.LoadFileConfig(configFile, confType...)
100}
101
102// LoadFileConfig 如果指定配置文件,初始化配置
103func (service *TaskService) LoadFileConfig(configFile string, confType ...interface{}) *TaskService {

Callers

nothing calls this directly

Calls 1

LoadFileConfigMethod · 0.95

Tested by

no test coverage detected