mirror of
https://github.com/jefferyjob/go-easy-utils.git
synced 2025-09-27 11:22:29 +08:00
17 lines
407 B
Go
17 lines
407 B
Go
package jsonUtil
|
|
|
|
import (
|
|
"errors"
|
|
"strconv"
|
|
)
|
|
|
|
var (
|
|
// ErrSyntax indicates that a value does not have the right syntax for the target type
|
|
// 指示值不具有目标类型的正确语法
|
|
ErrSyntax = strconv.ErrSyntax
|
|
|
|
// ErrType indicates that a value does not have the right syntax for the target type
|
|
// 指示值不具有目标类型的正确语法
|
|
ErrType = errors.New("unsupported type")
|
|
)
|