const os.O_WRONLY
6 uses
os (current package)
dir.go#L183: w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
file.go#L81: O_WRONLY int = syscall.O_WRONLY // open the file write-only.
file.go#L850: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
os/exec
exec.go#L576: f, err := os.OpenFile(os.DevNull, os.O_WRONLY, 0)
go.uber.org/zap
sink.go#L157: return sr.openFile(path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0666)
testing
testing.go#L2347: f, err = os.OpenFile(*testlog, os.O_WRONLY, 0)