types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UNDEFINED_PLACEHOLDER = "<UNDEFINED TYPE>"

Variables

View Source
var Registered = TypeRegistry{
	"undefined": Undefined,
	"boolean":   Boolean,
	"number":    Number,
	"id":        ID,
	"uuid":      UUID,
	"string":    String,
	"text":      Text,
	"time":      Time,
	"date":      Date,
	"datetime":  DateTime,
	"file":      File,
}

Functions

This section is empty.

Types

type Type

type Type int
const (
	Undefined Type = iota
	Boolean
	Number
	ID
	UUID
	String
	Text
	Time
	Date
	DateTime
	File
)

type TypeRegistry

type TypeRegistry map[string]Type

func (TypeRegistry) GetType

func (t TypeRegistry) GetType(name string) Type

Jump to

Keyboard shortcuts

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