Skip to content

Commit

Permalink
fix json decode endpointResponse ColumnTypes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rousemobi committed Apr 12, 2017
1 parent 2338d36 commit 4680fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type endpointResponse struct {
} `json:"error"`
Cols []string `json:"cols"`
Duration float64 `json:"duration"`
ColumnTypes int `json:col_types`
ColumnTypes []int `json:"col_types"`
Rowcount int64 `json:"rowcount"`
Rows [][]interface{} `json:"rows"`
}
Expand Down

0 comments on commit 4680fdf

Please sign in to comment.