config: load defaults

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-12-13 13:10:04 +03:00
parent 5c6eba20e7
commit a7a3c679d1
4 changed files with 238 additions and 46 deletions

View File

@@ -12,6 +12,8 @@ var (
)
var (
// ErrInvalidStruct is returned when the target struct is invalid
ErrInvalidStruct = errors.New("invalid struct specified")
// ErrWatcherStopped is returned when source watcher has been stopped
ErrWatcherStopped = errors.New("watcher stopped")
)