datatype

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package datatype provides the DataType type and related methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataType

type DataType int

DataType represents the type of a value.

const (
	// DataTypeNull represents a null type.
	DataTypeNull DataType = iota
	// DataTypeNumber represents a number type.
	DataTypeNumber
	// DataTypeString represents a string type.
	DataTypeString
	// DataTypeBool represents a boolean type.
	DataTypeBool
)

func (DataType) AsString

func (dt DataType) AsString() string

AsString provides the string representation of a DataType for error messages.

Jump to

Keyboard shortcuts

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