You've already forked VptPassiveAdapter
修改排序,更多埋点信息
This commit is contained in:
11
util/json.go
Normal file
11
util/json.go
Normal file
@ -0,0 +1,11 @@
|
||||
package util
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
func ToJson(v interface{}) string {
|
||||
b, err := json.Marshal(v)
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
return string(b)
|
||||
}
|
Reference in New Issue
Block a user