Use log package

This commit is contained in:
Eliot Whalan 2016-07-10 12:24:09 +10:00
parent 7e02cd4ecd
commit 280fa3d021
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)
}
}