Documentation ¶ Index ¶ type T type User func (User) Fields() []ent.Field Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type T ¶ type T struct { I int `json:"i,omitempty"` F float64 `json:"f,omitempty"` B bool `json:"b,omitempty"` S string `json:"s,omitempty"` T *T `json:"t,omitempty"` Li []int `json:"li,omitempty"` Ls []string `json:"ls,omitempty"` } type User ¶ type User struct { ent.Schema } User holds the schema definition for the User entity. func (User) Fields ¶ func (User) Fields() []ent.Field Fields of the User. Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.