mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -4,6 +4,13 @@ import (
|
||||
"go.m3o.com/client"
|
||||
)
|
||||
|
||||
type Currency interface {
|
||||
Codes(*CodesRequest) (*CodesResponse, error)
|
||||
Convert(*ConvertRequest) (*ConvertResponse, error)
|
||||
History(*HistoryRequest) (*HistoryResponse, error)
|
||||
Rates(*RatesRequest) (*RatesResponse, error)
|
||||
}
|
||||
|
||||
func NewCurrencyService(token string) *CurrencyService {
|
||||
return &CurrencyService{
|
||||
client: client.NewClient(&client.Options{
|
||||
|
||||
Reference in New Issue
Block a user