init code
This commit is contained in:
11
internal/services/tele/view/symbol.go
Normal file
11
internal/services/tele/view/symbol.go
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user