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.
1 package api
3 import (
4 "code.secondbit.org/api.hg"
5 "code.secondbit.org/ducky/subscriptions.hg"
6 )
8 // Response is used to structure the output returned as HTTP responses
9 // to requests.
10 type Response struct {
11 Subscriptions []subscriptions.Subscription `json:"subscriptions,omitempty"`
12 Errors []api.RequestError `json:"errors,omitempty"`
13 }