Steve Jiang
Steve Jiang
Consider the following JSON: ``` json { "Direct1":1, "Embedded2": 2, "Embedded3": 3 } ``` And given the following structs: ``` go type A struct { Direct1 int *B } type...
### Problem Considering the following scenario: ``` // in app.go type Agent1 struct { name string } type Agent2 struct { version string } type Server struct { A1 Agent1...
Go 1.22 has released [Enhanced routing patterns](https://tip.golang.org/doc/go1.22#:~:text=Go%20version%20strings.-,Enhanced%20routing%20patterns,-HTTP%20routing%20in); I wonder if there's been any thoughts phasing this library to be more compatible with stdlib, such as leveraging the http.Request object for...