aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-01-29 21:21:38 -0500
committerRuss Cox <rsc@golang.org>2019-02-12 14:48:26 +0000
commit11af3535310ed1f92cb75f523082702988bbd7f6 (patch)
treebf2c1b802639dd1174662d3761b768be3e6ef7f9 /src/database/sql/driver
parent36a81d5ec37904e44a9a2959c140687d558cd25f (diff)
downloadgo-11af3535310ed1f92cb75f523082702988bbd7f6.tar.xz
strconv: add 0b, 0o integer prefixes in ParseInt, ParseUint
This CL modifies ParseInt and ParseUint to recognize 0b and 0o as binary and octal base prefixes when base == 0. See golang.org/design/19308-number-literals for background. For #19308. For #12711. Change-Id: I8efe067f415aa517bdefbff7e230d3fa1694d530 Reviewed-on: https://go-review.googlesource.com/c/160244 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions