Documentation ¶
Index ¶
- Constants
- func Bold(s string) string
- func Color(s string, d Direction) string
- func DateF(timestamp int) string
- func DateFS(timestamp int) string
- func MktStateF(m finance.MarketState) string
- func NumberF(i int) string
- func NumberFancyF(n int64) string
- func Strip(s string) string
- func ToInt(value string) int
- func ToString(v int) string
- func ToStringF(v float64) string
- type Direction
Constants ¶
View Source
const ESC = "\033"
ESC is the escape string.
Variables ¶
This section is empty.
Functions ¶
func NumberFancyF ¶ added in v0.0.4
NumberFancyF adds suffixes to big numbers.
Types ¶
Click to show internal directories.
Click to hide internal directories.