diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-21 08:54:12 -0800 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-01-21 08:54:12 -0800 |
| commit | 2d92d26e8abe2c368796e9d38c9ad87d0ac53df5 (patch) | |
| tree | 036415ea06475f6ab9643423fffa9f8c7f822718 /hotline/news.go | |
| parent | d53ea2838b4eefe01b90d6854eba4055f63f44e0 (diff) | |
Minor cleanup
Diffstat (limited to 'hotline/news.go')
| -rw-r--r-- | hotline/news.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hotline/news.go b/hotline/news.go index 11e2a27..38db97a 100644 --- a/hotline/news.go +++ b/hotline/news.go @@ -7,6 +7,14 @@ import ( "sort" ) +const defaultNewsDateFormat = "Jan02 15:04" // Jun23 20:49 + +const defaultNewsTemplate = `From %s (%s): + +%s + +__________________________________________________________` + type ThreadedNews struct { Categories map[string]NewsCategoryListData15 `yaml:"Categories"` } |