mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
23 lines
617 B
Cheetah
23 lines
617 B
Cheetah
{{define "currency pair" -}}
|
|
{{template "header" .}}
|
|
## Current Features for {{.Name}}
|
|
|
|
+ Provides a new data structure for a currency pair
|
|
+ Methods to manipulate, create and retrieve different parts of the currency pair
|
|
|
|
+ Example below:
|
|
```go
|
|
import "github.com/thrasher-/gocryptotrader/currency/pair"
|
|
|
|
// Create new pair
|
|
newPair := currency.NewPairFromStrings("BTC", "USD")
|
|
|
|
// Retrieve different parts of the pair
|
|
bitcoinString := newPair.GetFirstCurrency
|
|
```
|
|
|
|
### Please click GoDocs chevron above to view current GoDoc information for this package
|
|
{{template "contributions"}}
|
|
{{template "donations"}}
|
|
{{end}}
|