bump to go 1.24 everywhere

This commit is contained in:
Michael Eischer
2025-12-06 20:18:36 +01:00
parent c3af54dd18
commit 47ebcfe5f3
3 changed files with 3 additions and 3 deletions

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.23 or higher to build. The only tested compiler is the official Go compiler.
Rest Server requires Go 1.24 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.

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: 23, Patch: 0}, // minimum Go version supported
MinVersion: GoVersion{Major: 1, Minor: 24, Patch: 0}, // minimum Go version supported
}
// Config configures the build.

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/restic/rest-server
go 1.23.0
go 1.24.0
require (
github.com/coreos/go-systemd/v22 v22.5.0