mapper

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKeyTimeValid added in v0.1.7

func IsKeyTimeValid(m bson.M, key string) bool

func IsKeyValid added in v0.1.7

func IsKeyValid(m bson.M, key string) bool

func Json2Map

func Json2Map(s string) (m map[string]interface{}, err error)

func Map2Json

func Map2Json(m interface{}) (string, error)

func Map2Struct

func Map2Struct(m interface{}, v interface{}) error

func Struct2Map

func Struct2Map(v interface{}) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL