Documentation ¶
Index ¶
- type Animal
- type Bounds
- type IgnoreThis
- type Option
- type Test
- type TestOption
- func WithA(x bytes.Buffer) TestOption
- func WithB(x map[time.Time]*time.Time) TestOption
- func WithBounds(x *Bounds) TestOption
- func WithC(x *gob.Encoder) TestOption
- func WithName(x string) TestOption
- func WithProfiles(x []map[string]interface{}) TestOption
- func WithStatement(x *jen.Statement) TestOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animal ¶
type IgnoreThis ¶ added in v0.4.0
type IgnoreThis struct { A struct { X int `json:"x"` } }
go generate would skip this since it's not in our type list above
type Test ¶ added in v0.2.0
type Test struct { Name string `default:"bobby"` *jen.Statement `default:"jen.Id(\"lol\")"` Profiles []map[string]interface{} `json:"profiles"` // contains filtered or unexported fields }
func NewTest ¶ added in v0.2.0
func NewTest(opts ...TestOption) *Test
type TestOption ¶ added in v0.2.0
type TestOption func(*Test)
func WithA ¶ added in v0.2.0
func WithA(x bytes.Buffer) TestOption
func WithBounds ¶ added in v0.4.0
func WithBounds(x *Bounds) TestOption
func WithC ¶ added in v0.2.0
func WithC(x *gob.Encoder) TestOption
func WithName ¶ added in v0.2.0
func WithName(x string) TestOption
func WithProfiles ¶ added in v0.4.0
func WithProfiles(x []map[string]interface{}) TestOption
func WithStatement ¶ added in v0.2.0
func WithStatement(x *jen.Statement) TestOption
Click to show internal directories.
Click to hide internal directories.