builtin_types

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagTypeTomlV0 = "!toml-tag-v0"
	TagTypeTomlV1 = "!toml-tag-v1"
	TagTypeLuaV1  = "!lua-tag-v1"
	TagTypeLuaV2  = "!lua-tag-v2"

	TypeTypeTomlV0 = "!toml-type-v0"
	TypeTypeTomlV1 = "!toml-type-v1"

	ConfigTypeTomlV0 = "!toml-config-v0"
	ConfigTypeTomlV1 = "!toml-config-v1"

	InventoryListTypeV0 = "!inventory_list-v0"
	InventoryListTypeV1 = "!inventory_list-v1"

	RepoTypeXDGDotenvV0 = "!toml-repo-dotenv_xdg-v0"
	RepoTypeLocalPath   = "!toml-repo-local_path-v0"
	RepoTypeUri         = "!toml-repo-uri-v0"

	ImmutableConfigV1 = "!toml-config-immutable-v1"

	ZettelIdListTypeV0 = "!zettel_id_list-v0"

	WorkspaceConfigTypeTomlV0 = "!toml-workspace_config-v0"
)

Variables

This section is empty.

Functions

func Default

func Default(genre genres.Genre) (ids.Type, bool)

func DefaultOrPanic

func DefaultOrPanic(genre genres.Genre) ids.Type

func IsBuiltin

func IsBuiltin(tipe ids.Type) bool

Types

type BuiltinType

type BuiltinType struct {
	ids.Type
	genres.Genre
	Default bool
}

func Get

func Get(t ids.Type) (BuiltinType, bool)

func GetOrPanic

func GetOrPanic(idString string) BuiltinType

Jump to

Keyboard shortcuts

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