missing json alias

master
nate smith 2019-09-17 18:26:07 -05:00
parent 742d9735b3
commit 4748465576
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ type tildeData struct {
GeneratedAt string `json:"generated_at"` // When this was generated in '%Y-%m-%d %H:%M:%S' format 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 GeneratedAtSec int64 `json:"generated_at_sec"` // When this was generated in seconds since epoch
Uptime string `json:"uptime"` // output of `uptime -p` 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 { func getEnvDefault(key, def string) string {