build(deps): promote google/go-cmp to direct dependency

go-cmp was previously an indirect dependency in both the root module and
internal/fantasy. It is used directly in test assertions across the
codebase, so promote it to a direct require in both go.mod files.

- go.mod: add github.com/google/go-cmp v0.7.0 as direct dep
- internal/fantasy/go.mod: move go-cmp from indirect to direct
This commit is contained in:
ZanzyTHEbar 2026-02-21 21:04:08 +00:00
parent ed3435f0ba
commit 38d1faf425
2 changed files with 2 additions and 1 deletions

1
go.mod
View file

@ -15,6 +15,7 @@ require (
github.com/fsnotify/fsnotify v1.9.0
github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433
github.com/google/flatbuffers v25.12.19+incompatible
github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/larksuite/oapi-sdk-go/v3 v3.5.3

View file

@ -47,7 +47,7 @@ require (
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/goccy/go-yaml v1.19.2 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/go-cmp v0.7.0
github.com/google/s2a-go v0.1.9 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
github.com/googleapis/gax-go/v2 v2.15.0 // indirect