mirror of
https://github.com/miguelmota/cointop
synced 2024-11-14 18:12:57 +00:00
add currency convert screenshot
This commit is contained in:
parent
e0b3d59d0c
commit
3d9d551f6d
@ -18,6 +18,8 @@ The interface is inspired by [`htop`](https://en.wikipedia.org/wiki/Htop) and sh
|
|||||||
|
|
||||||
<img src="https://user-images.githubusercontent.com/168240/39569662-bcbdbcc0-4e7a-11e8-8a8f-8ff45868a8ae.png" alt="help menu" width="880" />
|
<img src="https://user-images.githubusercontent.com/168240/39569662-bcbdbcc0-4e7a-11e8-8a8f-8ff45868a8ae.png" alt="help menu" width="880" />
|
||||||
|
|
||||||
|
<img src="https://user-images.githubusercontent.com/168240/39691066-1e29c18e-5191-11e8-87a2-9b1f4e1a1b4f.png" alt="currency convert menu" width="600" />
|
||||||
|
|
||||||
In action
|
In action
|
||||||
|
|
||||||
<img src="https://user-images.githubusercontent.com/168240/39569570-75b1547c-4e7a-11e8-8eac-552abaa431f0.gif" alt="screencast" width="880" />
|
<img src="https://user-images.githubusercontent.com/168240/39569570-75b1547c-4e7a-11e8-8eac-552abaa431f0.gif" alt="screencast" width="880" />
|
||||||
|
@ -55,7 +55,7 @@ func getLimitedCoinData(convert string, offset int) (map[string]apitypes.Coin, e
|
|||||||
func (s *Service) GetAllCoinData(convert string) (map[string]apitypes.Coin, error) {
|
func (s *Service) GetAllCoinData(convert string) (map[string]apitypes.Coin, error) {
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
ret := make(map[string]apitypes.Coin)
|
ret := make(map[string]apitypes.Coin)
|
||||||
for i := 0; i < 10; i++ {
|
for i := 0; i < 5; i++ {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func(j int) {
|
go func(j int) {
|
||||||
coins, err := getLimitedCoinData(convert, j)
|
coins, err := getLimitedCoinData(convert, j)
|
||||||
|
Loading…
Reference in New Issue
Block a user