From 4748465576f8ba1abf5fed0bd1cc7ff386a058ae Mon Sep 17 00:00:00 2001 From: nate smith Date: Tue, 17 Sep 2019 18:26:07 -0500 Subject: [PATCH] missing json alias --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ceb0045..0e87e7e 100644 --- a/main.go +++ b/main.go @@ -61,7 +61,7 @@ type tildeData struct { GeneratedAt string `json:"generated_at"` // When this was generated in '%Y-%m-%d %H:%M:%S' format GeneratedAtSec int64 `json:"generated_at_sec"` // When this was generated in seconds since epoch Uptime string `json:"uptime"` // output of `uptime -p` - News []newsEntry // Collection of town news entries + News []newsEntry `json:"news"` // Collection of town news entries } func getEnvDefault(key, def string) string {