File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package xo
2+
3+ // IndexType is the generated index type for the corresponding column.
4+ type IndexType int
5+
6+ const (
7+ Index IndexType = iota
8+ Unique
9+ )
10+
11+ // Manual is the manual option to mark the struct without an autogenerated
12+ // primary key field.
13+ type Manual bool
14+
15+ // Ignore skips the corresponding field or struct type from inclusion from
16+ // marshalling.
17+ type Ignore bool
18+
19+ // Embed is the embed option to embed the type with JSON instead of a separate
20+ // table.
21+ //
22+ // If Embed is an option on a struct field, that column will be embedded as
23+ // well, regardless of the value of the Embed option on the corresponding
24+ // struct.
25+ type Embed bool
26+
27+ // Default is the default value option for the corresponding field.
28+ type Default string
29+
You can’t perform that action at this time.
0 commit comments