commit | 4ea2f632f6e912459fe60b26b1749377f0d889d5 | [log] [tgz] |
---|---|---|
author | Kevin Burke <kev@inburke.com> | Mon Aug 20 20:36:55 2018 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Aug 21 04:44:26 2018 +0000 |
tree | 0b591611b8bbd9e94b9f63319a0307da24b7463b | |
parent | 1a700e749ce29638d0bbcb531cce1094ea096bd3 [diff] |
unix: add example for Flock The method signature does not explain much about how to use the function, and which arguments to invoke it with, so an example would be helpful. Change-Id: I95747567b2cafe70da1e04939c39f6b507f12684 Reviewed-on: https://go-review.googlesource.com/130317 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@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.