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
Please answer these questions before submitting your issue. Thanks!
go version
go env
If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best.
package main import ( "fmt" "os" ) func main() { f, err := os.Create("target") if err != nil { panic(err) } defer os.Remove("target") defer f.Close() err = os.Symlink("target", "link") if err != nil { panic(err) } defer os.Remove("link") st, err := os.Stat("link") if err != nil { panic(err) } fmt.Println(st.Name()) }
"link"
"target"
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/41310 mentions this issue.
Sorry, something went wrong.
94dd0f0
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
"link"
What did you see instead?
"target"
The text was updated successfully, but these errors were encountered: