package
0.3.1
Repository: https://github.com/intex-software/goutils.git
Documentation: pkg.go.dev

# Functions

Generate creates a JSON schema for a Go type.
GenerateSchemaWithMode creates a JSON schema for a Go type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

ModeAll is for general purpose use and includes all fields.
ModeRead is for HTTP HEAD & GET and will hide write-only fields.
ModeWrite is for HTTP POST, PUT, PATCH, DELETE and will hide read-only fields.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.

# Variables

ErrSchemaInvalid is sent when there is a problem building the schema.

# Structs

Schema represents a JSON Schema which can be generated from Go structs.

# Type aliases

Mode defines whether the schema is being generated for read or write mode.