ducky/subscriptions

Paddy 2015-09-27 Parent:36e90e828dd0 Child:b063bc0a6e84

12:39625b37485d Go to Latest

ducky/subscriptions/api/response.go

Fix go vet errors. We had a few logging statements that used placeholders but didn't provide any variables to fill them. We now specify the appropriate variables.

History
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@4 8 type Response struct {
paddy@4 9 Subscriptions []subscriptions.Subscription `json:"subscriptions,omitempty"`
paddy@4 10 Errors []api.RequestError `json:"errors,omitempty"`
paddy@4 11 }