traefik/pkg/config/file/fixtures_test.go
2020-06-17 16:48:04 +02:00

34 lines
344 B
Go

package file
type bar string
type Yo struct {
Foo string
Fii string
Fuu string
Yi *Yi `file:"allowEmpty"`
}
func (y *Yo) SetDefaults() {
y.Foo = "foo"
y.Fii = "fii"
}
type Yi struct {
Foo string
Fii string
Fuu string
}
func (y *Yi) SetDefaults() {
y.Foo = "foo"
y.Fii = "fii"
}
type Yu struct {
Yi
}
type Ye struct {
*Yi
}