update build

pull/5/head
Miguel Mota 6 years ago
parent 82c988df72
commit 7e528de154

@ -4,7 +4,7 @@
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/miguelmota/cointop/master/LICENSE.md) [![Go Report Card](https://goreportcard.com/badge/github.com/miguelmota/cointop?)](https://goreportcard.com/report/github.com/miguelmota/cointop) [![GoDoc](https://godoc.org/github.com/miguelmota/cointop?status.svg)](https://godoc.org/github.com/miguelmota/cointop)
<img src="./assets/screenshot.gif" width="750" />
<img src="./assets/screenshot.gif" width="880" />
[`cointop`](https://github.com/miguelmota/cointop) is a fast and tiny (~2mb) command-line interface application for viewing cryptocurrency stats and information in your terminal. The interface is inspired by [`htop`](https://en.wikipedia.org/wiki/Htop).
@ -16,7 +16,7 @@ Make sure to have [golang](https://golang.org/) installed, then do:
go install github.com/miguelmota/cointop
```
##### Alternatively (without go)
#### Alternatively (without go)
```
sudo curl -s https://git.io/vxKUA | bash

Binary file not shown.

@ -59,8 +59,8 @@ func (ct *Cointop) fetchData() ([]*apitypes.Coin, error) {
func (ct *Cointop) updateMarket() error {
maxX, _ := ct.g.Size()
s := "foo"
fmt.Fprintln(ct.marketview, pad.Right(fmt.Sprintf("[q]uit %s", s), maxX, " "))
s := ""
fmt.Fprintln(ct.marketview, pad.Right(fmt.Sprintf("30D %s", s), maxX, " "))
return nil
}

Loading…
Cancel
Save