diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-10-09 21:06:03 +0200 |
|---|---|---|
| committer | Martin Möhrmann <martisch@uos.de> | 2016-10-18 10:50:26 +0000 |
| commit | 2ecaaf18f94cd5ad3ccd46937d36c7a68d3e69bf (patch) | |
| tree | c21a608bf0066253d3aa403d2bc293b320a9a362 /src/database/sql/sql.go | |
| parent | faf882d1d427e8c8a9a1be00d8ddcab81d1e848e (diff) | |
| download | go-2ecaaf18f94cd5ad3ccd46937d36c7a68d3e69bf.tar.xz | |
fmt: always handle special methods if print operand is a reflect.Value
Check for and call the special printing and format methods such as String
at printing depth 0 when printing the concrete value of a reflect.Value.
Fixes: #16015
Change-Id: I23bd2927255b60924e5558321e98dd4a95e11c4c
Reviewed-on: https://go-review.googlesource.com/30753
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
