From 5f97679e23f75f42b265fec8d3bdb1c8de90b79d Mon Sep 17 00:00:00 2001 From: Jason Moiron Date: Fri, 28 Oct 2016 23:41:37 -0400 Subject: [PATCH] remove dangling else from #254 --- types/types.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/types.go b/types/types.go index 1a87199b..2ae9dfb4 100644 --- a/types/types.go +++ b/types/types.go @@ -117,9 +117,8 @@ type BitBool bool func (b BitBool) Value() (driver.Value, error) { if b { return []byte{1}, nil - } else { - return []byte{0}, nil } + return []byte{0}, nil } // Scan implements the sql.Scanner interface,