cmd

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root command.

func GetClient

func GetClient() *iex.Client

GetClient uses the supplied token and base URL from the config file and returns a created client.

Types

type QuoteByMktCap

type QuoteByMktCap []iex.Quote

QuoteByMktCap is a wrapper type used for sorting arrays of Quotes

func (QuoteByMktCap) Len

func (q QuoteByMktCap) Len() int

func (QuoteByMktCap) Less

func (q QuoteByMktCap) Less(i, j int) bool

func (QuoteByMktCap) Swap

func (q QuoteByMktCap) Swap(i, j int)

Jump to

Keyboard shortcuts

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