package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jan 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Page[T any] struct {
Results []T `json:"results"`
Total int64 `json:"total"`
}
Page wraps the results for pagination
type Pair struct {
Base Currency `json:"base"`
Target Currency `json:"target"`
}
type RateQuery struct {
Target *Currency `json:"target"`
RateType *RateType `json:"rate_type"`
Source *Source `json:"source"`
Base Currency `json:"base"`
Offset int64 `json:"offset"`
Limit int32 `json:"limit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.