mirror of
https://github.com/jimeh/ozu.io.git
synced 2026-02-19 08:06:39 +00:00
Rename response attributes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user