Codebase list golang-github-nlopes-slack / b023cf4
API returning int despite docs saying string Matt Whiteley authored 7 years ago Matt Whiteley committed 7 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2626 Groups []string `json:"groups"`
2727 } `json:"prefs"`
2828 Users []string
29 UserCount int `json:"user_count,string"`
29 UserCount int `json:"user_count"`
3030 }
3131
3232 type userGroupResponseFull struct {
3838
3939 ]
4040 },
41 "user_count": "0"
41 "user_count": 0
4242 }
4343 }`,
4444 }
123123
124124 ]
125125 },
126 "user_count": "2"
126 "user_count": 2
127127 }
128128 ]
129129 }`)