schema

package
v0.0.0-...-1b5401d Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collection

func Collection(name types.Name, elemType *types.Type) *types.Type

Collection returns the type schema for a collection with given name and element type.

func ValidateType

func ValidateType(expected, given *types.Type) error

ValidateType validates a given type against an expected schema. Returns an error if the schema of given differs from expected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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