Documentation ¶
Index ¶
- func MiniStack(skip int) string
- type Date
- type JSONArray
- type JSONObject
- type StringArray
- func (s *StringArray) Contains(v string) bool
- func (s *StringArray) Deduplicate()
- func (s *StringArray) HasSubset(s2 []string) bool
- func (s *StringArray) Load(total string)
- func (s *StringArray) LoadMap()
- func (s *StringArray) MarshalJSON() ([]byte, error)
- func (s *StringArray) Scan(val interface{}) error
- func (s *StringArray) String() string
- func (s *StringArray) UnmarshalJSON(b []byte) error
- func (s *StringArray) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONArray ¶
type JSONArray struct {
Elements []interface{}
}
func (*JSONArray) MarshalJSON ¶
func (*JSONArray) UnmarshalJSON ¶
type JSONObject ¶
type JSONObject map[string]interface{}
JSONObject represents a json column in the table. To handle it correctly, we need to manually scan it and output the relevant values
func (*JSONObject) Scan ¶
func (s *JSONObject) Scan(val interface{}) error
type StringArray ¶
type StringArray struct { Strings []string // contains filtered or unexported fields }
func (*StringArray) Contains ¶
func (s *StringArray) Contains(v string) bool
func (*StringArray) Deduplicate ¶
func (s *StringArray) Deduplicate()
func (*StringArray) HasSubset ¶
func (s *StringArray) HasSubset(s2 []string) bool
func (*StringArray) Load ¶
func (s *StringArray) Load(total string)
func (*StringArray) LoadMap ¶
func (s *StringArray) LoadMap()
func (*StringArray) MarshalJSON ¶
func (s *StringArray) MarshalJSON() ([]byte, error)
func (*StringArray) Scan ¶
func (s *StringArray) Scan(val interface{}) error
func (*StringArray) String ¶
func (s *StringArray) String() string
func (*StringArray) UnmarshalJSON ¶
func (s *StringArray) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.