schema

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type added in v0.4.1

type Type interface {
	Name() string
	Tag() tag.Tag
}

Type has a name and a tag

func GetTypesByTag added in v0.4.2

func GetTypesByTag(tagValue tag.Tag) []Type

GetTypesByTag returns all Type that belong to a specific Tag.

func ParseTagAndTypeFromString added in v0.4.2

func ParseTagAndTypeFromString(tagValue string, typeValue string) (tag.Tag, Type, error)

ParseTagAndTypeFromString returns a Tag and Type based on their string values

func ParseTypeFromString added in v0.4.2

func ParseTypeFromString(parentTag tag.Tag, typeValue string) (Type, error)

ParseTypeFromString returns a Type based on its string value and its parent Tag

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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