From cc272d6f14f2195ca089feb4b07c8a157f81d500 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Sun, 11 Dec 2016 12:50:12 -0600 Subject: [PATCH] Linting.. --- examples/airhorn/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/airhorn/main.go b/examples/airhorn/main.go index ff5e521..17f9e10 100644 --- a/examples/airhorn/main.go +++ b/examples/airhorn/main.go @@ -131,7 +131,7 @@ func loadSound() error { // If this is the end of the file, just return. if err == io.EOF || err == io.ErrUnexpectedEOF { - file.Close() + err := file.Close() if err != nil { return err }