diff --git a/README.md b/README.md index 0c13401..247de18 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/build.go b/build.go index 3fc399d..205cad7 100644 --- a/build.go +++ b/build.go @@ -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. diff --git a/go.mod b/go.mod index 094a796..1b8dca6 100644 --- a/go.mod +++ b/go.mod @@ -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