Use log package
This commit is contained in:
parent
312e7452a0
commit
7a020e9c9a
|
@ -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