зеркало из https://github.com/golang/sys.git
8097e1b27f
The GetCurrent*Token variety of functions are actually implemented as inline functions in the header files of the SDK. Attempting to call out to these as library functions is an error. This commit also adds a test to ensure that these work as expected. Change-Id: I105f1ca1a8936114fe61bc22188200c31f240a23 Reviewed-on: https://go-review.googlesource.com/c/sys/+/177840 Run-TryBot: Jason Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
cpu | ||
plan9 | ||
unix | ||
windows | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README.md | ||
codereview.cfg | ||
go.mod |
README.md
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.