Documentation ¶
Index ¶
- func BsonM2Map(m bson.M) map[string]interface{}
- func BsonM2Struct(m bson.M, v interface{}) error
- func IsKeyTimeValid(m bson.M, key string) bool
- func IsKeyValid(m bson.M, key string) bool
- func Json2Map(s string) (m map[string]interface{}, err error)
- func Map2BsonM(m map[string]interface{}) bson.M
- func Map2Json(m interface{}) (string, error)
- func Map2Struct(m interface{}, v interface{}) error
- func Struct2BsonM(v interface{}) (bson.M, error)
- func Struct2Map(v interface{}) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BsonM2Struct ¶
func Map2Struct ¶
func Map2Struct(m interface{}, v interface{}) error
func Struct2BsonM ¶
func Struct2Map ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.