model

package
v0.0.0-...-b04b404 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Currency

type Currency struct {
	ID         int     `json:"id"`
	Code       string  `json:"code"`
	Amount     float64 `json:"amount"`
	Price      float64 `json:"price"`
	TotalValue float64 `json:"totalValue"`
	History    []Price `json:"history"`
}

type Price

type Price struct {
	Amount float64 `json:"amount"`
	Price  struct {
		Old     float64 `json:"old"`
		Current float64 `json:"current"`
	} `json:"price"`
}

Jump to

Keyboard shortcuts

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