Skip to content

Commit 0a244bd

Browse files
feat: add config dumper
1 parent 63987e7 commit 0a244bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/util/init.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ func InitConfig(lo *slog.Logger, confFilePath string) *koanf.Koanf {
4949
os.Exit(1)
5050
}
5151

52+
if os.Getenv("DEBUG") != "" || os.Getenv("DEV") != "" {
53+
ko.Print()
54+
}
55+
5256
return ko
5357
}

0 commit comments

Comments
 (0)