internal

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 BoolRef

func BoolRef(b bool) *bool

func FormatFromSchemaType

func FormatFromSchemaType(s string) *string

func Int64Ref

func Int64Ref(i int64) *int64

func Int64RefByString

func Int64RefByString(s string) *int64

func IsNullable

func IsNullable(astNode schema.ASTNode) bool

func IsString

func IsString(astNode schema.ASTNode) bool

func RuleToASTNode

func RuleToASTNode(r schema.RuleASTNode) schema.ASTNode

func StringRef

func StringRef(s string) *string

func ToJSONString

func ToJSONString(s string) []byte

ToJSONString returns JSON quoted string data

func TokenType

func TokenType(s string) schema.TokenType

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL