摘要:
func StructToMap(v interface{}) (map[string]interface{}, error) { values := map[string]interface{}{} bytes, err := json.Marshal(v) if err != nil { ret 阅读全文
posted @ 2022-11-18 13:08
耀耀王
阅读(29)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "regexp" "strings" ) var matchNonAlphaNumeric = regexp.MustCompile(`[^a-zA-Z0-9]+`) var matchFirstCap = regexp.MustCompile 阅读全文
posted @ 2022-11-18 11:29
耀耀王
阅读(541)
评论(0)
推荐(0)

浙公网安备 33010602011771号