schema

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type struct {
	Kind   byte
	Static bool
	Size   int

	// tuple
	Fields []Type

	// array
	Length int
	Elem   *Type
}

func Array

func Array(e Type) Type

func ArrayK

func ArrayK(k int, e Type) Type

func Dynamic

func Dynamic() Type

func Parse

func Parse(s string) Type

func Static

func Static() Type

func Tuple

func Tuple(fields ...Type) Type

Jump to

Keyboard shortcuts

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