coinmarketcaptest

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TestURLEndpoint is the endpoint for testing queries to coinmarketcap API.
	TestURLEndpoint = "https://sandbox-api.coinmarketcap.com"
)

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(t *testing.T) coinmarketcap.Config

GetConfig get a standard coinmarketcap configuration.

func PickAPIKey

func PickAPIKey(t TB) string

PickAPIKey picks one coinmarketcap api key from flag.

Types

type TB

type TB interface {
	Skip(...interface{})
}

TB interface to skip the current test.

Jump to

Keyboard shortcuts

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