Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteArray ¶
type ByteArray string
ByteArray is a custom type that maps to a the database `bytea` fields
type DatetimeToJSONUnix ¶
DatetimeToJSONUnix binds a time.Time to a `timestamp` database field when marshaled to JSON, outputs a unix timestamp
func (DatetimeToJSONUnix) MarshalJSON ¶
func (t DatetimeToJSONUnix) MarshalJSON() ([]byte, error)
func (*DatetimeToJSONUnix) Scan ¶
func (t *DatetimeToJSONUnix) Scan(value interface{}) error
func (DatetimeToJSONUnix) String ¶
func (t DatetimeToJSONUnix) String() string
func (*DatetimeToJSONUnix) UnmarshalJSON ¶
func (t *DatetimeToJSONUnix) UnmarshalJSON(data []byte) error
type JSONObject ¶
type JSONObject map[string]interface{}
JSONObject binds a map[string]interface{} to a `jsonb` database field
func (*JSONObject) Scan ¶
func (obj *JSONObject) Scan(value interface{}) error
type JSONStringArray ¶
type JSONStringArray []string
JSONStringArray binds a slice of strings to a `jsonb` database field
func (*JSONStringArray) Scan ¶
func (j *JSONStringArray) Scan(value interface{}) error
type LabelStruct ¶
type SYRewardPool ¶
Click to show internal directories.
Click to hide internal directories.