Compare commits
2 Commits
d3cb16cefb
...
4b70470a86
Author | SHA1 | Date | |
---|---|---|---|
4b70470a86 | |||
aa52e42d9e |
BIN
example.png
BIN
example.png
Binary file not shown.
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 10 KiB |
1
main.go
1
main.go
@ -93,7 +93,6 @@ 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