Documentation ¶
Index ¶
- Constants
- Variables
- func BoolRef(b bool) *bool
- func FormatFromSchemaType(s string) *string
- func Int64Ref(i int64) *int64
- func Int64RefByString(s string) *int64
- func IsNullable(astNode schema.ASTNode) bool
- func IsString(astNode schema.ASTNode) bool
- func RuleToASTNode(r schema.RuleASTNode) schema.ASTNode
- func StringRef(s string) *string
- func ToJSONString(s string) []byte
- func TokenType(s string) schema.TokenType
Constants ¶
View Source
const StringAdditionalProperties = "additionalProperties"
View Source
const StringAny = "any"
View Source
const StringArray = "array"
View Source
const StringBoolean = "boolean"
View Source
const StringDate = "date"
View Source
const StringDatetime = "datetime"
View Source
const StringEmail = "email"
View Source
const StringEnum = "enum"
View Source
const StringFalse = "false"
View Source
const StringFloat = "float"
View Source
const StringInteger = "integer"
View Source
const StringNull = "null"
View Source
const StringNumber = "number"
View Source
const StringObject = "object"
View Source
const StringString = "string"
View Source
const StringTrue = "true"
View Source
const StringUri = "uri"
View Source
const StringUuid = "uuid"
Variables ¶
View Source
var BufferPool = sync.NewBufferPool(1024)
Functions ¶
func FormatFromSchemaType ¶
func Int64RefByString ¶
func IsNullable ¶
func RuleToASTNode ¶
func RuleToASTNode(r schema.RuleASTNode) schema.ASTNode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.