typing

package
v0.0.0-...-75be81d Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field_

type Field_ struct {
	Name  string
	Value Type
}

func Field

func Field(name string, value Type) Field_

type Type

type Type struct {
	Name     string
	SubTypes map[string]Type
}

func Array

func Array(item Type) Type

func Binary

func Binary() Type

Equivalent to []byte

func Boolean

func Boolean() Type

func Duration

func Duration() Type

Equivalent to time.Duration

func Map

func Map() Type

func Number

func Number() Type

func Ref

func Ref(name string) Type

func String

func String() Type

func Struct

func Struct(fields ...Field_) Type

func TimeStamp

func TimeStamp() Type

Equivalent to time.Time

func Unknown

func Unknown() Type

Jump to

Keyboard shortcuts

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