types

package
v0.0.0-...-ed06964 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type uint
const (
	TypeNil Type = iota
	TypeString
	TypeNumber
	TypeAttribute
	TypeDuration
	TypeVariable
	TypeArray
)

func GetType

func GetType(value string) Type

func (Type) String

func (t Type) String() string

type TypedValue

type TypedValue struct {
	Type  Type
	Value string
}

func GetTypedValue

func GetTypedValue(value string) TypedValue

func (TypedValue) FormattedString

func (tv TypedValue) FormattedString() string

Jump to

Keyboard shortcuts

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