Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decode base64 string to utf8 string
func Base64Encode ¶
Base64Encode encode []byte to base64 string
func JSONDecodeToStruct ¶
JSONDecodeToStruct decode json to struct v is a struct pointer = &Stru{} struct field name 必須大寫開頭且名稱跟json相同
func JSONEncodeFromStruct ¶
JSONEncodeFromStruct encode struct to json string
func StructToMap ¶
StructToMap decode struct to map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.