From d0cbbf0727cd7369d6deda1da29490dc132d45b4 Mon Sep 17 00:00:00 2001 From: Tim Heckman Date: Mon, 30 Oct 2017 13:34:48 -0700 Subject: [PATCH] Update README.md to indicate Go 1.7+ is required to use this package New functionality added to this package now depends on the `context` package that was introduced in Go 1.7. This change updates the README to reflect that new version constraint. If this becomes an issue, we could add the `go-constraint` package as a dependency to this. This would allow us to have a compile time check of the Go version. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8206997..38c794c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,11 @@ includes a non-blocking TryLock() function to allow locking without blocking exe ## License `flock` is released under the BSD 3-Clause License. See the `LICENSE` file for more details. -## Intsallation +## Go Compatibility +This package makes use of the `context` package that was introduced in Go 1.7. As such, this +package has an implicit dependency on Go 1.7+. + +## Installation ``` go get -u github.com/theckman/go-flock ```