Enable the use of context in restic

Set up a cancelble context in global options, hook it into the ctrl-C handler
for proper cancel propegation.

Bump up minimal requirement for Go to version 1.7 in documentation
and test-build files.
This commit is contained in:
Pauline Middelink
2017-03-08 20:12:16 +01:00
parent 3eaaa0f286
commit b4526c4e6e
7 changed files with 15 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ You can download the latest pre-compiled binary from the [restic release page](h
Build restic
============
Install Go/Golang (at least version 1.6), then run `go run build.go`,
Install Go/Golang (at least version 1.7), then run `go run build.go`,
afterwards you'll find the binary in the current directory:
$ go run build.go