//
pkg.gl
Category
github.com/wtfutil/wtf
modules
digitalclock
package
0.43.0
Repository:
https://github.com/wtfutil/wtf.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
219 SLOC
#
Functions
NewSettingsFromYAML
NewSettingsFromYAML creates a new settings instance from a YAML config block.
NewWidget
NewWidget creates a new widget using settings.
#
Constants
AM
AM defines the AM string format.
PM
PM defines the PM string format.
#
Structs
ClockFont
ClockFont struct to hold the font info.
Settings
Settings defines the configuration properties for this module.
Widget
Widget is a text widget struct to hold info about the current widget.
#
Interfaces
ClockFontInterface
ClockFontInterface to makes sure all fonts implement join and get methods.