Documentation ¶
Overview ¶
Package assets is intended to manage static content used by module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
FS represents filesystem with embedded files
Functions ¶
func MustCompileIngestionSpecification ¶ added in v0.2.0
MustCompileIngestionSpecification builds OpenAPI specification for Mixpanel Ingestion API.
func MustCompileSchema ¶ added in v0.2.0
func MustCompileSchema(asset string) *jsonschema.Schema
MustCompileSchema builds json schema from specified asset.
func ValidateJSON ¶ added in v0.2.0
func ValidateJSON(schema *jsonschema.Schema, data []byte) error
ValidateJSON is a helper func to validate JSON data with specified schema.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.