coins

package module
v0.0.0-...-b7ecf05 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 12 Imported by: 0

README

Web scraping test

My web scraping test project

GoDoc Go Report Card

 go get github.com/samettunay/coins-info
Functions

func ShowLiveTable(int) // Displays cryptocurrencies in live tabular form

func Info(string) // Shows the information of the cryptocurrency you are looking for

Output
coins.ShowLiveTable(10)

Screenshot_1

coins.Info("BTC")

Screenshot_4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLenght = errors.New("Lenght Error! must coin name > 3")
)

Functions

func Info

func Info(name string)

Get coin info Info("BTC")

func ShowLiveTable

func ShowLiveTable(coin int)

Show coins limit 75

Types

type CryptoCurrency

type CryptoCurrency struct {
	Price    []string
	Name     []string
	Percent  []string
	UpOrDown []string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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