Documentation ¶ Index ¶ type Addr func (a Addr) MarshalJSON() ([]byte, error) func (a Addr) String() string func (a *Addr) UnmarshalJSON(data []byte) error 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 Addr ¶ added in v0.11.0 type Addr struct{ net.Addr } func (Addr) MarshalJSON ¶ added in v0.11.0 func (a Addr) MarshalJSON() ([]byte, error) func (Addr) String ¶ added in v0.11.0 func (a Addr) String() string func (*Addr) UnmarshalJSON ¶ added in v0.11.0 func (a *Addr) UnmarshalJSON(data []byte) error 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.