fix(handlers): values where omited when false and set go min version to 1.25

switching from v1 to v2 of encoding/json in the root handler to not omit
false values in the spaceapi response.
this increases the min go version to 1.25.
This commit is contained in:
bitwhisker 2026-10-05 14:10:36 +02:00
commit 2cc08483a2
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
2 changed files with 2 additions and 2 deletions

2
go.mod
View file

@ -1,3 +1,3 @@
module git.hamburg.ccc.de/ccchh/spaceapid module git.hamburg.ccc.de/ccchh/spaceapid
go 1.22 go 1.25

View file

@ -1,7 +1,7 @@
package handlers package handlers
import ( import (
"encoding/json" "encoding/json/v2"
"log" "log"
"net/http" "net/http"