Go packages for low-level interaction with the operating system

Clone this repo:

Branches

  1. 1d2aa6d unix: add Getcwd to support Getwd on all BSDs by Tobias Klauser · 23 hours ago master
  2. 0131e68 windows: make GetDriveType use GetDriveTypeW by Brad Fitzpatrick · 14 hours ago
  3. 9418b3f unix: add function for converting time.Time to Timespec by Xi Ruoyao · 3 days ago
  4. 76c1389 unix: add unix.test to .gitignore by Tobias Klauser · 19 hours ago
  5. 53aa286 unix: add GetsockoptString on Linux by Tobias Klauser · 6 days ago

sys

This repository holds supplemental Go packages for low-level interactions with the operating system.

Download/Install

The easiest way to install is to run go get -u golang.org/x/sys. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.