Files
crypto-price-bot/internal/services/tele/view/symbol.go
2024-10-24 09:53:23 +07:00

12 lines
248 B
Go

package view
import (
"fmt"
"me.thuanle/bbot/internal/helper/binancex"
)
func RenderSymbolInfo(sym string) string {
token := binancex.Symbol2Token(sym)
return fmt.Sprintf("<a href=\"https://www.binance.com/futures/%s\">%s</a>", sym, token)
}