-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsearch.go
31 lines (26 loc) · 1.04 KB
/
search.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Author: vuiletgo([email protected])
* Date: 13-12-15
* Version: 0.02
*/
package weigo
//搜用户搜索建议
func (api *APIClient) GET_search_suggestions_users(params map[string]interface{}, result interface{}) error {
return api.GET("search/suggestions/users", params, result)
}
//搜学校搜索建议
func (api *APIClient) GET_search_suggestions_schools(params map[string]interface{}, result interface{}) error {
return api.GET("search/suggestions/schools", params, result)
}
//搜应用搜索建议
func (api *APIClient) GET_search_suggestions_apps(params map[string]interface{}, result interface{}) error {
return api.GET("search/suggestions/apps", params, result)
}
//联想搜索
func (api *APIClient) GET_search_suggestions_at_users(params map[string]interface{}, result interface{}) error {
return api.GET("search/suggestions/at_users", params, result)
}
//搜索某一话题下的微博
func (api *APIClient) GET_search_topics(params map[string]interface{}, result *Topic) error {
return api.GET("search/topics", params, result)
}