10 lines
245 B
Go
10 lines
245 B
Go
package integration_test
|
|
|
|
import "encoding/json"
|
|
|
|
// jsonUnmarshal is a tiny indirection so other test files can decode
|
|
// without importing encoding/json each time.
|
|
func jsonUnmarshal(raw []byte, v any) error {
|
|
return json.Unmarshal(raw, v)
|
|
}
|