package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Sep 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Coerce(val interface{}, schema *Schema) interface{}
func CoerceArray(arr []interface{}, schema *Schema) []interface{}
A Schema correponds to a resource or a subtree of a resource.
They may contain infinite loops.
const (
Boolean Type = iota
Integer
Number
String
Array
Object
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.