const os.O_WRONLY
8 uses
os (current package)
dir.go#L176: w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
file.go#L82: O_WRONLY int = syscall.O_WRONLY // open the file write-only.
file.go#L936: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
removeall_at.go#L44: flag = O_WRONLY | O_RDWR
root.go#L265: f, err := r.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#L158: return sr.openFile(path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
testing
testing.go#L2545: f, err = os.OpenFile(*testlog, os.O_WRONLY, 0)