Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type One ¶
type One struct { ID int64 `sql:"primary key;auto increment"` Name string // OtherMany is one-to-many relationship with a type called "OtherMany" // In order for this relationship to exists, OtherMany must have a // field that references a "One" type OtherMany []OtherMany }
One is a struct with relation for example
Click to show internal directories.
Click to hide internal directories.