Use log package
This commit is contained in:
parent
7e02cd4ecd
commit
280fa3d021
@ -70,7 +70,7 @@ type Page struct {
|
||||
// check error handling function
|
||||
func check(err error) {
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
log.Println(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user