package
0.6.2
Repository: https://github.com/fastschema/fastschema.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AppendFile appends the given content to the given file path.
Capitalize the first letter of the given string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateSwaggerUIPage creates a simple HTML page that serves the Swagger UI.
CreateZeroValue creates a zero value of a type.
No description provided by the author
Dereferenceable returns true if the value is dereferenceable.
No description provided by the author
No description provided by the author
EscapeQuery escapes the query string to be used in a regular expression.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GeneratePointerChain creates a chain of pointers by taking the address of the original value 'v' 'times' number of times.
GetDereferencedType returns the dereferenced type of a value 'v'.
GetStructFieldName returns the name of a struct field based on the provided reflect.StructField and tag name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsFileExists checks if the given file path exists.
No description provided by the author
IsNumber checks if the given any is a number.
IsValidBool check if the given value is a valid boolean.
IsValidEmail check if the given value is a valid email.
IsValidFloat check if the given value is a valid float.
IsValidInt check if the given value is a valid integer.
IsValidString check if the given value is a valid string.
IsValidTime check if the given value is a valid time.
IsValidUInt check if the given value is a valid unsigned integer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseHJSON parses the given input byte slice as HJSON and returns the result as type T.
ParseStructFieldTag parses the struct field tag and returns a map of tag key-value pairs.
Pick returns value in the nested map by the given paths in format: "path.to.value".
No description provided by the author
No description provided by the author
SecureRandomBytes returns the requested number of bytes using crypto/rand.
No description provided by the author
No description provided by the author
No description provided by the author
Title converts a string to title case.
ToSnakeCase converts a string from capital case to snake case For example: "ToSnakeCase" -> "create_snake_case" "userID" -> "user_id" "HTTPResponse" -> "http_response".
No description provided by the author
WriteFile writes the given content to the given file path.

# Structs

No description provided by the author
No description provided by the author