Discover Packages
github.com/anteoy/gtools
base
utils
ibase
package
Version:
v0.0.0-...-d920e95
Opens a new window with list of versions in this module.
Published: May 10, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func MapToStruct(obj interface{}, objMap map[string ]interface{}) error
func StructToStruct(obj interface{}, obj2 interface{}) (interface{}, error )
type VehicleInfo struct {
VehicleId string `bson:"编号"`
Date string `bson:"日期"`
Type string `bson:"类型"`
Brand string `bson:"型号"`
Color string `bson:"颜色"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.