package request type AddAccountId struct { Name string ` json:"name" binding:"required"` } type UpdateAccountId struct { Id int `json:"id" binding:"required"` Name string `json:"name" binding:"required"` } type UpdateAccountIds struct { AccountIds []*UpdateAccountId `json:"account_id" binding:"required"` }