| 600 | } |
| 601 | |
| 602 | type ExampleJSONString struct { |
| 603 | Query *JSONObject `thrift:"Query,1" json:"Query"` |
| 604 | Query2 []string `thrift:"Query2,2,required" json:"Query2"` |
| 605 | Header *JSONObject `thrift:"Header,3,required" json:"Header"` |
| 606 | Header2 map[int32]string `thrift:"Header2,4,required" json:"Header2"` |
| 607 | Cookie *JSONObject `thrift:"Cookie,5" json:"Cookie"` |
| 608 | Cookie2 []int32 `thrift:"Cookie2,6,required" json:"Cookie2"` |
| 609 | } |
| 610 | |
| 611 | func NewExampleJSONString() *ExampleJSONString { |
| 612 | return &ExampleJSONString{} |
nothing calls this directly
no outgoing calls
no test coverage detected