crypto

package
v0.0.0-...-613c9bf Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto struct {
	Data struct {
		Symbol     string `json:"symbol"`
		Name       string `json:"name"`
		MarketData struct {
			PriceUSD float64 `json:"price_usd"` // HL
		} `json:"market_data"`
	} `json:"data"`
}

func GetCrypto

func GetCrypto(symbol string) (*Crypto, error)

func (*Crypto) String

func (c *Crypto) String() string

Jump to

Keyboard shortcuts

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