mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 23:16:54 +00:00
* Updated documentation tool Added templates Updated documentation using tool * Fixed incorrect version in web README * Added new templates to tool. Updated documents in templates across the code base. Used tool to regenerate documentation.
23 lines
610 B
Cheetah
23 lines
610 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 := pair.NewCurrencyPair("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}}
|