How to send request with nested struct as JSON body

前端 未结 0 1948
死守一世寂寞
死守一世寂寞 2021-01-24 03:24

I want to send this nested struct

type CreateOrderRequest struct {
items     []Item    `json:"Items"`
Name      string    `json:"name"`
UnitPr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题