ADD: api response model for processing naver cafe searching api response
Showing
1 changed file
with
17 additions
and
0 deletions
joongna/model/api_response.go
0 → 100644
1 | +package model | ||
2 | + | ||
3 | +type ApiResponse struct { | ||
4 | + LastBuildDate string `json:"lastBuildDate"` | ||
5 | + Total uint `json:"total"` | ||
6 | + Start uint `json:"start"` | ||
7 | + Display uint `json:"display"` | ||
8 | + Items []ApiResponseItem `json:"items"` | ||
9 | +} | ||
10 | + | ||
11 | +type ApiResponseItem struct { | ||
12 | + Title string `json:"title"` | ||
13 | + Link string `json:"link"` | ||
14 | + Description string `json:"description"` | ||
15 | + CafeName string `json:"cafename"` | ||
16 | + CafeUrl string `json:"cafeurl"` | ||
17 | +} |
-
Please register or login to post a comment