package domain type LoginResponse struct { BaseResponse Token string `json:"token"` Type string `json:"type"` RefreshToken string `json:"refreshToken"` } // This / // /auth/refreshToken type TokenRefreshResponse struct { ErrorResponse } type BaseResponse struct { Success bool `json:"success"` Message string `json:"message"` } type ErrorResponse struct { Success bool `json:"success"` Message string `json:"message"` } type HelloWhoResponse struct { BaseResponse Error string `json:"error"` }