model

package
v0.0.0-...-1e16040 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyData

type CurrencyData struct {
	Meta struct {
		LastUpdatedAt time.Time `json:"last_updated_at"`
	} `json:"meta"`
	Data map[string]CurrencyInfo `json:"data"`
}

type CurrencyInfo

type CurrencyInfo struct {
	Code  string  `json:"code"`
	Value float64 `json:"value"`
}

type CurrencyResponse

type CurrencyResponse struct {
	Value float64 `json:"value"`
	Date  string  `json:"date"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL