Rename response attributes

This commit is contained in:
2016-07-11 19:20:10 +01:00
parent fa9b0dfab3
commit 9d636cafab
3 changed files with 12 additions and 12 deletions

View File

@@ -4,9 +4,9 @@ package web
// ShortenedResponse contains shortened URL info.
type ShortenedResponse struct {
UID string `json:"uid"`
ShortURL string `json:"short_url"`
URL string `json:"url"`
UID string `json:"uid"`
URL string `json:"url"`
Target string `json:"target"`
}
// ErrorResponse contains error info.