types

package
v0.0.0-...-fb0eaf7 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordDef

type RecordDef map[string]Type

RecordDef is the "field list" of the Record and Table Type. The key is field name and value is the type of the field.

type Type

type Type interface {
	EncodeMsgpack(enc *msgpack.Encoder) error
	// contains filtered or unexported methods
}

Type describes how Values are represented.

https://docs.rs/nu-protocol/latest/nu_protocol/enum.Type.html

func Any

func Any() Type

func Binary

func Binary() Type

func Block

func Block() Type

func Bool

func Bool() Type

func CellPath

func CellPath() Type

func Closure

func Closure() Type

func Custom

func Custom(name string) Type

func Date

func Date() Type

func Duration

func Duration() Type

func Error

func Error() Type

func Filesize

func Filesize() Type

func Float

func Float() Type

func Glob

func Glob() Type

func Int

func Int() Type

func List

func List(itemType Type) Type

func ListStream

func ListStream() Type

func Nothing

func Nothing() Type

func Number

func Number() Type

func Range

func Range() Type

func Record

func Record(fields RecordDef) Type

func Signature

func Signature() Type

func String

func String() Type

func Table

func Table(fields RecordDef) Type

Jump to

Keyboard shortcuts

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