Documentation ¶
Index ¶
- type Numbers
- func (t Numbers) Contains(s int) bool
- func (t Numbers) MarshalJSON() ([]byte, error)
- func (t Numbers) Remove(s int) Numbers
- func (t Numbers) SAdd(s int) Numbers
- func (t *Numbers) Scan(src interface{}) error
- func (t Numbers) String() string
- func (t *Numbers) UnmarshalJSON(data []byte) error
- func (t Numbers) Value() (driver.Value, error)
- type Strings
- func (t Strings) Contains(s string) bool
- func (t Strings) Intersectant(s Strings) bool
- func (t Strings) MarshalJSON() ([]byte, error)
- func (t Strings) Remove(s string) Strings
- func (t Strings) SAdd(s string) Strings
- func (t *Strings) Scan(src interface{}) error
- func (t Strings) String() string
- func (t Strings) Sub(s Strings) Strings
- func (t Strings) Union(s Strings) Strings
- func (t *Strings) UnmarshalJSON(data []byte) error
- func (t Strings) Value() (driver.Value, error)
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Numbers ¶
type Numbers []int
Numbers is int array for connecting mysql types and json
func (Numbers) MarshalJSON ¶
func (*Numbers) UnmarshalJSON ¶
type Strings ¶
type Strings []string
Strings is string array for connecting mysql types and json
func (Strings) Intersectant ¶
func (*Strings) UnmarshalJSON ¶
UnmarshalJSON interface
type Values ¶
Values maps a string key to a list of values. It is typically used for object key.
func ParseQuery ¶
Parse parses the encoded values string
func (Values) Encode ¶
Encode encodes the values into URL encoded form ("bar-baz_foo-quux") sorted by key.
Click to show internal directories.
Click to hide internal directories.