Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyEmbeddedType ¶ added in v0.4.0
MyEmbeddedType will be embedded in MyType
type MyType ¶
type MyType struct {
// ID is readable and writable
ID uuid.UUID `read_col:"my_type.id" write_col:"id"`
// Foo is readable and sortable
Foo string `read_col:"my_type.foo,sortable" write_col:"foo"`
// Bar is readable and writable (from a column with different name)
Bar []byte `read_col:"my_type.the_bar" write_col:"the_bar"`
// Baz should be embedded as JSON
Baz MyEmbeddedType `read_col:"my_type.baz" write_col:"baz,json"`
// LastTime is a readable, sortable and writable pointer column
LastTime *time.Time `read_col:"my_type.last_time,sortable" write_col:"last_time"`
}
MyType is a fixture struct type
Directories
¶
| Path | Synopsis |
|---|---|
|
Code generated by construct, DO NOT EDIT.
|
Code generated by construct, DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.