config icon indicating copy to clipboard operation
config copied to clipboard

support parsedefault from defaultfile

Open M09Ic opened this issue 2 years ago • 0 comments

support setting the default file when parsedefault complex structures.

type ConfigA struct {
	config ConfigB `config:"config" default:"configb.yaml"`
}

type ConfigB struct {
	A string `config:"a"`
	B string `config:"b"`
}

configb.yaml

a: aaa
b: bbb

M09Ic avatar Oct 26 '23 09:10 M09Ic