mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18:51 +02:00
fix(config): fix error and logging handling
This commit is contained in:
@@ -13,8 +13,7 @@ import (
|
||||
)
|
||||
|
||||
type State interface {
|
||||
// InitFromFileOrExit logs and exits on critical errors, non-critical ones will be returned
|
||||
InitFromFileOrExit(filename string) error
|
||||
InitFromFile(filename string) error
|
||||
Init(data []byte) error
|
||||
|
||||
Task() *task.Task
|
||||
|
||||
Reference in New Issue
Block a user