diff options
Diffstat (limited to 'src/cmd/gofix/filepath.go')
-rw-r--r-- | src/cmd/gofix/filepath.go | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/cmd/gofix/filepath.go b/src/cmd/gofix/filepath.go index 1d0ad6879..f31226018 100644 --- a/src/cmd/gofix/filepath.go +++ b/src/cmd/gofix/filepath.go @@ -9,14 +9,17 @@ import ( ) func init() { - register(fix{ - "filepath", - filepathFunc, - `Adapt code from filepath.[List]SeparatorString to string(filepath.[List]Separator). + register(filepathFix) +} + +var filepathFix = fix{ + "filepath", + "2011-06-26", + filepathFunc, + `Adapt code from filepath.[List]SeparatorString to string(filepath.[List]Separator). http://codereview.appspot.com/4527090 `, - }) } func filepathFunc(f *ast.File) (fixed bool) { |