mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-06-14 22:11:24 +00:00
bdb60de7ae
- 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
9 lines
190 B
Go
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)
|
|
}
|