You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import "encoding/json"
|
|
|
|
func parseBool() bool {
|
|
return false
|
|
}
|
|
|
|
func StructToJsonString(param interface{}) string {
|
|
dataType, _ := json.Marshal(param)
|
|
dataString := string(dataType)
|
|
return dataString
|
|
}
|
|
|