You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
Linux on x86
What did you do?
What did you expect to see?
The description of the documents for path.Clean and filepath.Clean not mention the difference between them. The implementation and the test cases are almost the same (the test cases are exactly the same). Do we need to append some description about the difference between the usage of these two functions to the current documents?
What did you see instead?
The text was updated successfully, but these errors were encountered:
The difference between path.Clean and filepath.Clean is that the former works on slash-separated paths, and the latter works on paths separated using OS-specific separator characters (such as backslash on Windows). This is documented in the function docs if you read closely, and it is documented in the package docs of the path and filepath/path packages.
What version of Go are you using (
go version
)?go version go1.14 Linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputLinux on x86
What did you do?
What did you expect to see?
The description of the documents for
path.Clean
andfilepath.Clean
not mention the difference between them. The implementation and the test cases are almost the same (the test cases are exactly the same). Do we need to append some description about the difference between the usage of these two functions to the current documents?What did you see instead?
The text was updated successfully, but these errors were encountered: