Compare commits
No commits in common. "4b70470a86528246a7cd1c3bd7e1f9c40f686fda" and "d3cb16cefb6f237cb816f84e57ee984dbec65adf" have entirely different histories.
4b70470a86
...
d3cb16cefb
BIN
example.png
BIN
example.png
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 6.8 KiB |
1
main.go
1
main.go
@ -93,6 +93,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("failed to get data from alberta government website: %v", err)
|
log.Fatalf("failed to get data from alberta government website: %v", err)
|
||||||
}
|
}
|
||||||
|
fmt.Printf("As of %s Mountain Time (the real time)\n\n", cache.UpdatedDate.Format("2006 Jan 02 15:04:05"))
|
||||||
// CLI mode, print output to stdout
|
// CLI mode, print output to stdout
|
||||||
fmt.Println("Edmonton Active: ", cache.Data.ActiveCasesEdmonton)
|
fmt.Println("Edmonton Active: ", cache.Data.ActiveCasesEdmonton)
|
||||||
fmt.Println("Edmonton Total: ", cache.Data.TotalCasesEdmonton)
|
fmt.Println("Edmonton Total: ", cache.Data.TotalCasesEdmonton)
|
||||||
|
Loading…
Reference in New Issue
Block a user