From 66b7ed9d1a59e9a42b8557ce1a84a4779265b8ef Mon Sep 17 00:00:00 2001 From: Jack Kawell Date: Sat, 14 Sep 2024 11:28:21 -0500 Subject: [PATCH] feat: added `SetDefault()` to the config `Reader` interface --- pkg/chassis/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/chassis/config.go b/pkg/chassis/config.go index c94a50b..57bd4d8 100644 --- a/pkg/chassis/config.go +++ b/pkg/chassis/config.go @@ -40,6 +40,7 @@ type ( GetSizeInBytes(key string) uint Unmarshal(rawVal interface{}, opts ...viper.DecoderConfigOption) error UnmarshalKey(key string, rawVal interface{}, opts ...viper.DecoderConfigOption) error + SetDefault(key string, value any) } config struct {