Documentation ¶
Index ¶
- Variables
- func AppendErrorToArray(v *fastjson.Value, msg string, path []PathElement)
- func AppendToArray(array, value *fastjson.Value)
- func CreateErrorObjectWithPath(message string, path []PathElement) *fastjson.Value
- func MergeValues(a, b *fastjson.Value) (*fastjson.Value, bool)
- func MergeValuesWithPath(a, b *fastjson.Value, path ...string) (*fastjson.Value, bool)
- func PrintGraphQLResponse(data, errors *fastjson.Value) string
- func SetNull(v *fastjson.Value, path ...string)
- func SetValue(v *fastjson.Value, value *fastjson.Value, path ...string)
- func ValueIsNonNull(v *fastjson.Value) bool
- func ValueIsNull(v *fastjson.Value) bool
- type PathElement
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NullValue = fastjson.MustParse(`null`)
)
Functions ¶
func AppendErrorToArray ¶
func AppendErrorToArray(v *fastjson.Value, msg string, path []PathElement)
func AppendToArray ¶
func CreateErrorObjectWithPath ¶
func CreateErrorObjectWithPath(message string, path []PathElement) *fastjson.Value
func MergeValuesWithPath ¶
func PrintGraphQLResponse ¶
func ValueIsNonNull ¶
func ValueIsNull ¶
Types ¶
type PathElement ¶
Click to show internal directories.
Click to hide internal directories.