ducky/subscriptions
2015-10-04
Parent:b063bc0a6e84
ducky/subscriptions/api/response.go
Document our client to make golint happy. Take care of all the documentation warnings in the client subpackage, which means golint now returns successfully.
| paddy@4 | 1 package api |
| paddy@4 | 2 |
| paddy@4 | 3 import ( |
| paddy@4 | 4 "code.secondbit.org/api.hg" |
| paddy@4 | 5 "code.secondbit.org/ducky/subscriptions.hg" |
| paddy@4 | 6 ) |
| paddy@4 | 7 |
| paddy@16 | 8 // Response is used to structure the output returned as HTTP responses |
| paddy@16 | 9 // to requests. |
| paddy@4 | 10 type Response struct { |
| paddy@4 | 11 Subscriptions []subscriptions.Subscription `json:"subscriptions,omitempty"` |
| paddy@4 | 12 Errors []api.RequestError `json:"errors,omitempty"` |
| paddy@4 | 13 } |