fix(site): use encoding/json

goccy/go-json v0.11.0 and later panic in the indent encoder with a nil pointer dereference, so the dependency update failed its tests. The site generator needs nothing beyond the standard library.
This commit is contained in:
2026-10-02 22:07:13 +01:00
parent 6322e0e658
commit 39c1d50236
5 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings"
"time"
json "github.com/goccy/go-json"
"encoding/json"
"github.com/lukaszraczylo/git-velocity/internal/config"
"github.com/lukaszraczylo/git-velocity/internal/domain/models"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing"
"time"
json "github.com/goccy/go-json"
"encoding/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"