Documentation
¶
Index ¶
- func Bytes(i interface{}) ([]byte, error)
- func Float64(i interface{}) (float64, error)
- func GetBytes(m map[string]interface{}, k string) ([]byte, error)
- func GetId(m map[string]interface{}, k string) (bson.ObjectId, error)
- func GetInt(m map[string]interface{}, k string) (int, error)
- func GetInt64(m map[string]interface{}, k string) (int64, error)
- func GetM(m map[string]interface{}, k string) (bson.M, error)
- func GetString(m map[string]interface{}, k string) (string, error)
- func GetStrings(m map[string]interface{}, k string) ([]string, error)
- func Id(i interface{}) (bson.ObjectId, error)
- func Int(i interface{}) (int, error)
- func Int64(i interface{}) (int64, error)
- func Set(vals []string) map[string]bool
- func Strings(i interface{}) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStrings ¶
GetStrings converts a value in a map to a []string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.