1
0
mirror of https://github.com/golang/go synced 2024-11-19 18:44:41 -07:00
go/src/path
Erwin Oegema 683e2fd578 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: 398c1eeb61
GitHub-Pull-Request: golang/go#24536
Reviewed-on: https://go-review.googlesource.com/102535
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-03-26 17:40:01 +00:00
..
filepath path/filepath: change example to print the correct path on failure 2018-03-26 17:40:01 +00:00
example_test.go path: add example for Match 2018-02-13 18:45:33 +00:00
match_test.go
match.go path: remove filename mentions from pattern godocs 2018-02-14 10:17:44 +00:00
path_test.go
path.go all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00