Skip to content

Commit ec514ae

Browse files
committed
Change yaml to mapstruct
1 parent 472bce9 commit ec514ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func BindEnvs(conf interface{}, parts ...string) error {
123123
for i := 0; i < num; i++ {
124124
v := ifv.Field(i)
125125
t := ift.Field(i)
126-
tv, ok := t.Tag.Lookup("yaml")
126+
tv, ok := t.Tag.Lookup("mapstructure")
127127
if !ok {
128128
continue
129129
}

0 commit comments

Comments
 (0)