We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package main import ( "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" "github.com/gogf/gf/v2/util/gutil" ) type Something struct { Value string `json:"value2"` } func main () { m1 := g. Map { "Value2" : "hello" , } var s1 * Something _ = gconv . Struct ( m1 , & s1 ) gutil . DumpWithType ( s1 ) }
*main.Something(1) { Value: string(5) "hello", }
*main.Something(1) { Value: string(5) "", }
The text was updated successfully, but these errors were encountered:
@qinyuguang Version 2.7.0 updates the field matching rules, please refer to the documentation for details https://goframe.org/pages/viewpage.action?pageId=1114345
Sorry, something went wrong.
No branches or pull requests