Skip to content

Commit bd24742

Browse files
committed
Updated to time
Signed-off-by: Vishal Rana <[email protected]>
1 parent 0f42774 commit bd24742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

currency.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ type (
1111
}
1212

1313
CurrencyConvertResponse struct {
14-
Amount float64 `json:"amount"`
15-
UpdatedAt time.Time `json:"updated_at"`
14+
Time time.Time `json:"time"`
15+
Amount float64 `json:"amount"`
1616
}
1717

1818
CurrencyRatesResponse struct {
19-
Rates map[string]float64 `json:"rates"`
20-
UpdatedAt time.Time `json:"updated_at"`
19+
Time time.Time `json:"time"`
20+
Rates map[string]float64 `json:"rates"`
2121
}
2222
)
2323

0 commit comments

Comments
 (0)