We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/
../..
go version
$ go version 1.21
yes
go env
$ go env
package main import ( "fmt" "path/filepath" ) func main() { p1 := "/" p2 := "../.." fmt.Println(filepath.Join(p1, p2)) }
/../..
I was just wondering if this is the expected behavior. Just a heads up, Python default path library gives /../..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
/../..
What did you see instead?
/
I was just wondering if this is the expected behavior.
Just a heads up, Python default path library gives
/../..
The text was updated successfully, but these errors were encountered: