jackc / sqlfmt

SQL Formatter
Apache License 2.0
338 stars 23 forks source link

refactor(filepath): Use path/filepath pkg #8

Closed yyoshiki41 closed 6 years ago

yyoshiki41 commented 6 years ago

When manipulate operating system file paths, use path/filepathpkg instead of path pkg.

ref.

The path package should only be used for paths separated by forward slashes, such as the paths in URLs.
This package does not deal with Windows paths with drive letters or backslashes;
to manipulate operating system paths, use the path/filepath package.

https://golang.org/pkg/path/

Thanks!


This change is Reviewable

jackc commented 6 years ago

Thanks!