commit | 096928d58be70ff96328b9a13ab90a68f646398b | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Nov 27 08:53:11 2017 +0000 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Mon Nov 27 18:31:15 2017 +0000 |
tree | 0e5964e23d2b50c6c39016ce793e4f923654a7a9 | |
parent | 4ff8c001ce4cc464e644b922325097228fce14d8 [diff] |
unix: add Uname on FreeBSD FreeBSD doesn't have a uname syscall but the information can be retrieved using sysctls the same way as on Darwin. Change-Id: I824c42490d1feed3f1ad3823427c01dd3e5ea3c1 Reviewed-on: https://go-review.googlesource.com/79918 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
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
.
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.