assets

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package assets is intended to manage static content used by module.

Index

Constants

This section is empty.

Variables

FS represents filesystem with embedded files

Functions

func MustCompileIngestionSpecification added in v0.2.0

func MustCompileIngestionSpecification() *openapi3.T

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.

Jump to

Keyboard shortcuts

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