1
0
mirror of https://github.com/golang/go synced 2024-10-01 18:18:32 -06:00
go/src/database/sql
weeellz da24c95ce0 database/sql: remove unnecessary else conditions
Fixes golint warning about "if block ends with a return statement,
so drop this else and outdent its block".

Change-Id: Iac4fd324e04e3e3fe3e3933f5e59095041d292c5
Reviewed-on: https://go-review.googlesource.com/107115
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-04-19 18:57:52 +00:00
..
driver database/sql: buffers provided to Rows.Next should not be modified by drivers 2018-01-25 19:14:14 +00:00
convert_test.go database/sql: fix TestConversions when count > 1 2018-01-25 03:39:24 +00:00
convert.go database/sql: remove unnecessary else conditions 2018-04-19 18:57:52 +00:00
ctxutil.go database/sql: fix ctx.Done() == nil check 2017-11-15 21:28:27 +00:00
doc.txt database/sql: fix outdated package name in doc.txt 2017-06-30 19:11:17 +00:00
example_test.go database/sql: add more examples 2018-03-25 05:09:57 +00:00
fakedb_test.go all: remove duplicate word "the" 2018-02-20 16:45:55 +00:00
sql_test.go database/sql: return context errors from Rows.Scan 2018-04-11 19:45:16 +00:00
sql.go database/sql: remove a couple redundancies 2018-04-12 19:23:46 +00:00