diff --git a/structs/queryrow.go b/structs/queryrow.go index 8a01817..0b0eda9 100644 --- a/structs/queryrow.go +++ b/structs/queryrow.go @@ -19,11 +19,11 @@ package structs type DogPicRow struct { - Dog_id int - Breed_id int - Author string - Title string - Format string - Hash string - Url string + Dog_id int `json:"id"` + Breed_id int `json:"bid"` + Author string `json:"author"` + Title string `json:"title"` + Format string `json:"format"` + Hash string `json:"hash"` + Url string `json:"url"` }