Skip to content

Commit

Permalink
fix go_vet
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jan 29, 2018
1 parent da68e24 commit 855e84d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ var intervals = [...]string{
}

type HookData struct {
InputType string `json:inputType,omitempty"`
InputBody []byte `json:inputBody,omitempty"`
OutputType string `json:outputType,omitempty"`
OutputURL string `json:outputUrl,omitempty"`
OutputNames []string `json:outputNames,omitempty"`
Token string `json:token,omitempty"`
InputMessage []byte `json:inputMessage,omitempty"`
CanonicalMessage cc.Message `json:canonicalMessage,omitempty"`
InputType string `json:"inputType,omitempty"`
InputBody []byte `json:"inputBody,omitempty"`
OutputType string `json:"outputType,omitempty"`
OutputURL string `json:"outputUrl,omitempty"`
OutputNames []string `json:"outputNames,omitempty"`
Token string `json:"token,omitempty"`
InputMessage []byte `json:"inputMessage,omitempty"`
CanonicalMessage cc.Message `json:"canonicalMessage,omitempty"`
}

type hookDataRequest struct {
Expand Down Expand Up @@ -233,7 +233,7 @@ type ErrorInfo struct {
}

type ResponseInfo struct {
HookData HookData `json:hookData,omitempty"`
HookData HookData `json:"hookData,omitempty"`
Responses []ErrorInfo `json:"responses,omitempty"`
StatusCode int `json:"statusCode,omitempty"`
//URL string `json:"url,omitempty"`
Expand Down

0 comments on commit 855e84d

Please sign in to comment.