Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct { Type interface{} `json:"type"` Properties map[string]*Schema `json:"properties"` Items *Schema `json:"items"` Required []string `json:"required"` Ref string `json:"$ref"` Defs map[string]*Schema `json:"$defs"` }
func (*Schema) IsRequired ¶
type StringInterpolator ¶
type StringInterpolator struct {
// contains filtered or unexported fields
}
func NewStringInterpolator ¶
func NewStringInterpolator(schema string) (*StringInterpolator, error)
func NewStringInterpolatorJSONOnly ¶
func NewStringInterpolatorJSONOnly(schema string) (*StringInterpolator, error)
func (*StringInterpolator) Interpolate ¶
func (s *StringInterpolator) Interpolate(data []byte) []byte
Click to show internal directories.
Click to hide internal directories.