mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
refract package ghttp/gredis/glog
This commit is contained in:
@ -60,7 +60,7 @@ func Example_newFromStructWithTag() {
|
||||
Score: 100,
|
||||
Title: "engineer",
|
||||
}
|
||||
// The parameter <tags> specifies custom priority tags for struct conversion to map,
|
||||
// The parameter `tags` specifies custom priority tags for struct conversion to map,
|
||||
// multiple tags joined with char ','.
|
||||
j := gjson.NewWithTag(me, "tag")
|
||||
fmt.Println(j.Get("name"))
|
||||
|
||||
Reference in New Issue
Block a user