Bump Go version to 1.22; remove openbsd/mips builds

This commit is contained in:
Seednode 2024-02-07 11:44:30 -06:00
parent 068850b27f
commit 4e410d4db2
3 changed files with 1 additions and 3 deletions

View File

@ -35,7 +35,6 @@ platforms=(
"openbsd/amd64"
"openbsd/arm"
"openbsd/arm64"
"openbsd/mips64"
"wasip1/wasm"
"windows/386"
"windows/amd64"

View File

@ -65,7 +65,6 @@ func serverError(w http.ResponseWriter, r *http.Request, i interface{}) {
w.Header().Add("Content-Security-Policy", fmt.Sprintf("default-src 'self' 'nonce-%s';", nonce))
io.WriteString(w, gohtml.Format(newPage("Server Error", "An error has occurred. Please try again.", nonce)))
}
func serverErrorHandler() func(http.ResponseWriter, *http.Request, interface{}) {

2
go.mod
View File

@ -1,6 +1,6 @@
module seedno.de/seednode/roulette
go 1.21
go 1.22
require (
github.com/alecthomas/chroma/v2 v2.12.0