const os.O_CREATE

11 uses

	os (current package)
		dir.go#L176: 			w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
		file.go#L86: 	O_CREATE int = syscall.O_CREAT  // create a new file if none exists.
		file.go#L400: 	return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
		file.go#L936: 	f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
		file_unix.go#L247: 	if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
		root.go#L109: 	return r.OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
		root.go#L265: 	f, err := r.OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
		root_unix.go#L89: 				isCreateExcl := flag&(O_CREATE|O_EXCL) == (O_CREATE | O_EXCL)
		tempfile.go#L49: 		f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)

	go.uber.org/zap
		sink.go#L158: 	return sr.openFile(path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)