Files
goclaw/internal/mcp/helpers.go
T
viettranx bdb60de7ae chore: upgrade Go 1.25 → 1.26 and apply go fix modernizations
- Update go.mod and Dockerfile to Go 1.26
- Apply `go fix ./...` stdlib modernizations across 170+ files
- Add `go fix` to post-implementation checklist in CLAUDE.md
- Fix go fix misapplied rewrite in loop_history.go
2026-03-10 00:09:15 +07:00

9 lines
190 B
Go

package mcp
import "encoding/json"
// jsonUnmarshal is a thin wrapper to keep the main files import-clean.
func jsonUnmarshal(data []byte, v any) error {
return json.Unmarshal(data, v)
}