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
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Apologies for the noise! I think I should take a break, now.
Somehow, I have been reading/inferring O_TRUNC as being O_APPEND. Hence, leaving O_TRUNC outside, I was thinking/hoping to get the file created from scratch every time 🤦🏻 Totally my bad!
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
)?My host OS is Windows 11 Enterprise.
I am using Go inside a (Docker-based) development container (based on the image
golang:1.18-bullseye
) under Visual Studio Code.go env
OutputWhat did you do?
I have used the following Go code:
and run the following to reproduce the issue:
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: