example&comment update

This commit is contained in:
John Guo
2021-11-01 19:46:39 +08:00
parent c0c68d1e46
commit 79a233eb78
14 changed files with 43 additions and 36 deletions

View File

@ -1,6 +1,7 @@
package main
import (
"context"
"fmt"
"time"
@ -38,7 +39,7 @@ func main() {
fmt.Println(t.UTC().String())
fmt.Println(t.In(cstLocal).String())
} else {
glog.Error(s, err)
glog.Error(context.Background(), s, err)
}
fmt.Println()
}