get huge eth price
continuous-integration/drone/push Build is passing Details

master
dustoair 3 years ago
parent d2a507dece
commit 2734045854

@ -11,6 +11,7 @@ package goCharts
import ( import (
"WechatGateWay/api" "WechatGateWay/api"
"github.com/vicanso/go-charts/v2" "github.com/vicanso/go-charts/v2"
"log"
"math/rand" "math/rand"
"time" "time"
) )
@ -26,6 +27,7 @@ func getRand(len int) []float64 {
func Draw() { func Draw() {
timeUpdate, symbolPrice := api.GetSerivers("ETHUSDT") timeUpdate, symbolPrice := api.GetSerivers("ETHUSDT")
log.Println(timeUpdate, symbolPrice)
values := [][]float64{ values := [][]float64{
symbolPrice, symbolPrice,
//getRand(30), //getRand(30),

Loading…
Cancel
Save