Documentation ¶
Index ¶
- Variables
- func FormatCommas(v int64) string
- func PadLft(v interface{}, length int) string
- func PadRgt(v interface{}, length int) string
- func TruncStr(v string, length int) string
- func WidgetActiveStyle() ui.Style
- func WidgetBorderStyle() ui.Style
- func WidgetDefaultStyle() ui.Style
- func WidgetTitleStyle() ui.Style
- type Currency
- type EndpointInterface
- type Language
- type ServiceInterface
- type Widget
- type WidgetAction
- type WidgetEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
Functions ¶
func FormatCommas ¶
FormatCommas returns number in a comma delimited format.
func WidgetActiveStyle ¶
WidgetActiveStyle returns new termui style instance.
func WidgetBorderStyle ¶
WidgetBorderStyle returns new termui style instance.
func WidgetDefaultStyle ¶
WidgetDefaultStyle returns new termui style instance.
func WidgetTitleStyle ¶
WidgetTitleStyle returns new termui style instance.
Types ¶
type Currency ¶
Currency declared data types.
func NewCurrency ¶
NewCurrency creates a new currency instance.
type EndpointInterface ¶
EndpointInterface provides runtime methods.
type Language ¶
type Language struct { Code string // contains filtered or unexported fields }
Language declared data types.
func NewLanguage ¶
NewLanguage creates a new language instance.
type ServiceInterface ¶
type ServiceInterface interface { URL(endpointName string) string Params(endpointName string) []string Parse(endpointName string, body []byte) interface{} }
ServiceInterface provides runtime methods.
Click to show internal directories.
Click to hide internal directories.