require go 1.26

This commit is contained in:
Michael Eischer
2026-10-11 22:38:43 +02:00
parent 799bd695ed
commit 906f649c4c
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ Rest Server is a high performance HTTP server that implements restic's [REST bac
## Requirements
Rest Server requires Go 1.24 or higher to build. The only tested compiler is the official Go compiler.
Rest Server requires Go 1.26 or higher to build. The only tested compiler is the official Go compiler.
The required version of restic backup client to use with `rest-server` is [v0.7.1](https://github.com/restic/restic/releases/tag/v0.7.1) or higher.
+1 -1
View File
@@ -58,7 +58,7 @@ var config = Config{
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package
Tests: []string{"./..."}, // tests to run
MinVersion: GoVersion{Major: 1, Minor: 24, Patch: 0}, // minimum Go version supported
MinVersion: GoVersion{Major: 1, Minor: 26, Patch: 0}, // minimum Go version supported
}
// Config configures the build.
+2 -2
View File
@@ -1,6 +1,6 @@
Change: Update dependencies and require Go 1.24 or newer
Change: Update dependencies and require Go 1.26 or newer
All dependencies have been updated. Rest-server now requires Go 1.24 or newer
All dependencies have been updated. Rest-server now requires Go 1.26 or newer
to build.
https://github.com/restic/rest-server/pull/373
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/restic/rest-server
go 1.24.0
go 1.26.0
require (
github.com/coreos/go-systemd/v22 v22.6.0