From 784ce8fb136776ae3703a4644e6b64a31a671481 Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Sat, 17 Sep 2022 08:33:54 +0800 Subject: [PATCH] format output --- handle/replyText.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handle/replyText.go b/handle/replyText.go index 2300993..2b7cb53 100644 --- a/handle/replyText.go +++ b/handle/replyText.go @@ -41,7 +41,7 @@ func cmdExec(msgContent MsgContent) (replyContent string) { priceETH := api.GetBinanceLatestPrice("ETHUSDT") priceTRX := api.GetBinanceLatestPrice("TRXUSDT") priceBNB := api.GetBinanceLatestPrice("BNBUSDT") - replyContent = fmt.Sprintf("BTC价格: %f \n ETH价格: %f \n TRX价格: %f \n BNB价格: %f", priceBTC, priceETH, priceTRX, priceBNB) + replyContent = fmt.Sprintf("BTC价格: %f \nETH价格: %f \nTRX价格: %f \nBNB价格: %f", priceBTC, priceETH, priceTRX, priceBNB) return case "gold", "黄金":