You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/pkg/api/api.go

22 lines
387 B
Go

package api
import (
cg "github.com/miguelmota/cointop/pkg/api/impl/coingecko"
cmc "github.com/miguelmota/cointop/pkg/api/impl/coinmarketcap"
)
6 years ago
// NewCMC new CoinMarketCap API
5 years ago
func NewCMC(apiKey string) Interface {
return cmc.NewCMC(apiKey)
}
6 years ago
// NewCC new CryptoCompare API
func NewCC() {
// TODO
6 years ago
}
// NewCG new CoinGecko API
func NewCG() Interface {
return cg.NewCoinGecko()
}