diff options
| author | Erwin Oegema <blablaechthema@hotmail.com> | 2018-03-26 13:21:29 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-03-26 17:40:01 +0000 |
| commit | 683e2fd578495d1de399b16ed82bf5c35a4164f0 (patch) | |
| tree | 3f976f2ec9b73c20773192094af136fdac417cbb /src/database/sql/sql.go | |
| parent | 665af046c29eafd35460e985a10ce74b1d9d3ef8 (diff) | |
| download | go-683e2fd578495d1de399b16ed82bf5c35a4164f0.tar.xz | |
path/filepath: change example to print the correct path on failure
This change makes errors in the example code a bit better, as it's no use to show the root dir when an error occurs walking a subdirectory or file.
Change-Id: I546276e9b151fabba5357258f03bfbd47a508201
GitHub-Last-Rev: 398c1eeb6164a7edc6fdee8cb8c17c3bd0b649ef
GitHub-Pull-Request: golang/go#24536
Reviewed-on: https://go-review.googlesource.com/102535
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
