Globally renamed property RedirectUrl to LongUrl

This commit is contained in:
2022-08-27 14:16:23 +02:00
parent 590906d555
commit 092cbcfdd1
7 changed files with 14 additions and 14 deletions

View File

@ -6,12 +6,12 @@ type ExpandReq struct {
}
type ExpandResp struct {
RedirectUrl string `json:"redirectUrl"`
LongUrl string `json:"longUrl"`
}
type ShortenReq struct {
RedirectUrl string `json:"redirectUrl"`
ExpiresIn int64 `json:"expiresIn,optional"`
LongUrl string `json:"longUrl"`
ExpiresIn int64 `json:"expiresIn,optional"`
}
type ShortenResp struct {