sys
moduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
sys
This repository holds supplemental Go packages for low-level interactions withthe operating system.
Report Issues / Send Patches
This repository uses Gerrit for code changes. To learn how to submit changes tothis repository, seehttps://go.dev/doc/contribute.
The git repository ishttps://go.googlesource.com/sys.
The main issue tracker for the sys repository is located athttps://go.dev/issues. Prefix your issue with "x/sys:" in thesubject line, so it is easy to find.
Directories¶
| Path | Synopsis |
|---|---|
Package cpu implements processor feature detection for various CPU architectures. | Package cpu implements processor feature detection for various CPU architectures. |
Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. | Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. |
Package unix contains an interface to the low-level operating system primitives. | Package unix contains an interface to the low-level operating system primitives. |
internal/mkmergecommand The mkmerge command parses generated source files and merges common consts, funcs, and types into a common source file, per GOOS. | The mkmerge command parses generated source files and merges common consts, funcs, and types into a common source file, per GOOS. |
Package windows contains an interface to the low-level operating system primitives. | Package windows contains an interface to the low-level operating system primitives. |
mkwinsyscallcommand mkwinsyscall generates windows system call bodies | mkwinsyscall generates windows system call bodies |
registry Package registry provides access to the Windows registry. | Package registry provides access to the Windows registry. |
svc Package svc provides everything required to build Windows service. | Package svc provides everything required to build Windows service. |
svc/debug Package debug provides facilities to execute svc.Handler on console. | Package debug provides facilities to execute svc.Handler on console. |
svc/eventlog Package eventlog implements access to Windows event log. | Package eventlog implements access to Windows event log. |
svc/examplecommand Example service program that beeps. | Example service program that beeps. |
svc/mgr Package mgr can be used to manage Windows service programs. | Package mgr can be used to manage Windows service programs. |