Use log package

This commit is contained in:
Eliot Whalan 2016-07-10 12:24:09 +10:00
parent 312e7452a0
commit 7a020e9c9a
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ type Page struct {
// check error handling function
func check(err error) {
if err != nil {
fmt.Println(err)
log.Println(err)
}
}