gi

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Overview

Package gi contains the functions that provide better integration with go so a Go Integration (GI) package.

Index

Constants

View Source
const ChannelSymbol = slip.Symbol("channel")

ChannelSymbol is the symbol with a value of "channel".

View Source
const TimeChannelSymbol = slip.Symbol("time-channel")

TimeChannelSymbol is the symbol with a value of "time-channel".

View Source
const UUIDSymbol = slip.Symbol("uuid")

UUIDSymbol is the symbol with a value of "uuid".

Variables

View Source
var (
	// Pkg is the Gi package.
	Pkg = slip.Package{
		Name:      "gi",
		Nicknames: []string{"go-integration", "golang-integration"},
		Doc:       "Home of symbols defined for the Go Integration functions, variables, and constants.",
		PreSet:    slip.DefaultPreSet,
	}
)

Functions

func AppendSnapshot added in v1.1.0

func AppendSnapshot(b []byte, s *slip.Scope) []byte

AppendSnapshot appends a snapshot to a []byte.

func Logger

func Logger() *flavors.Flavor

Logger returns the bag-flavor.

Types

type Add

type Add struct {
	slip.Function
}

Add represents the add function.

func (*Add) Call

func (f *Add) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the the function with the arguments provided.

type Addf added in v0.9.5

type Addf struct {
	slip.Function
}

Addf represents the addf function.

func (*Addf) Call added in v0.9.5

func (f *Addf) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the the function with the arguments provided.

type Addnew added in v0.9.5

type Addnew struct {
	slip.Function
}

Addnew represents the addnew function.

func (*Addnew) Call added in v0.9.5

func (f *Addnew) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Base64Decode added in v0.9.5

type Base64Decode struct {
	slip.Function
}

Base64Decode represents the base64-decode function.

func (*Base64Decode) Call added in v0.9.5

func (f *Base64Decode) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the the function with the arguments provided.

type Base64Encode added in v0.9.5

type Base64Encode struct {
	slip.Function
}

Base64Encode represents the base64-encode function.

func (*Base64Encode) Call added in v0.9.5

func (f *Base64Encode) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the the function with the arguments provided.

type Channel

type Channel chan slip.Object

Channel is a chan of Objects.

func (Channel) Append

func (obj Channel) Append(b []byte) []byte

Append a buffer with a representation of the Object.

func (Channel) Close added in v0.9.7

func (obj Channel) Close()

Close the channel.

func (Channel) Equal

func (obj Channel) Equal(other slip.Object) (eq bool)

Equal returns true if this Object and the other are equal in value.

func (Channel) Eval

func (obj Channel) Eval(s *slip.Scope, depth int) slip.Object

Eval returns self.

func (Channel) Hierarchy

func (obj Channel) Hierarchy() []slip.Symbol

Hierarchy returns the class hierarchy as symbols for the channel.

func (Channel) Length

func (obj Channel) Length() int

Length returns the length of the object.

func (Channel) Pop added in v0.9.7

func (obj Channel) Pop() slip.Object

Pop a value from a channel.

func (Channel) Range added in v0.9.9

func (obj Channel) Range(s *slip.Scope, caller slip.Caller, depth int)

Range over the values in a channel.

func (Channel) Simplify

func (obj Channel) Simplify() interface{}

Simplify by returning the string representation of the flavor.

func (Channel) String

func (obj Channel) String() string

String representation of the Object.

type ChannelClose

type ChannelClose struct {
	slip.Function
}

ChannelClose represents the channel-close function.

func (*ChannelClose) Call

func (f *ChannelClose) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type ChannelPop

type ChannelPop struct {
	slip.Function
}

ChannelPop represents the channelPop function.

func (*ChannelPop) Call

func (f *ChannelPop) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type ChannelPush

type ChannelPush struct {
	slip.Function
}

ChannelPush represents the channelPush function.

func (*ChannelPush) Call

func (f *ChannelPush) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type CharLength added in v0.9.5

type CharLength struct {
	slip.Function
}

CharLength represents the char-length function.

func (*CharLength) Call added in v0.9.5

func (f *CharLength) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Clearenv added in v0.7.0

type Clearenv struct {
	slip.Function
}

Clearenv represents the clearenv function.

func (*Clearenv) Call added in v0.7.0

func (f *Clearenv) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Closer added in v0.9.7

type Closer interface {
	// Close the channel.
	Close()
}

Closer is an interface for closing a channel.

type Containsp added in v0.9.0

type Containsp struct {
	slip.Function
}

Containsp represents the containsp function.

func (*Containsp) Call added in v0.9.0

func (f *Containsp) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type CryptoHash added in v1.1.0

type CryptoHash struct {
	slip.Function
}

CryptoHash represents the crypto-hash function.

func (*CryptoHash) Call added in v1.1.0

func (f *CryptoHash) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Decrypt added in v1.1.0

type Decrypt struct {
	slip.Function
}

Decrypt represents the decrypt function.

func (*Decrypt) Call added in v1.1.0

func (f *Decrypt) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type DecryptFile added in v1.1.0

type DecryptFile struct {
	slip.Function
}

DecryptFile represents the decrypt-file function.

func (*DecryptFile) Call added in v1.1.0

func (f *DecryptFile) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type DefSystem added in v0.9.5

type DefSystem struct {
	slip.Function
}

DefSystem represents the defsystem function.

func (*DefSystem) Call added in v0.9.5

func (f *DefSystem) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Dovector added in v0.9.5

type Dovector struct {
	slip.Function
}

Dovector represents the dovector function.

func (*Dovector) Call added in v0.9.5

func (f *Dovector) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Emptyp added in v0.9.0

type Emptyp struct {
	slip.Function
}

Emptyp represents the emptyp function.

func (*Emptyp) Call added in v0.9.0

func (f *Emptyp) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Encrypt added in v1.1.0

type Encrypt struct {
	slip.Function
}

Encrypt represents the encrypt function.

func (*Encrypt) Call added in v1.1.0

func (f *Encrypt) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type EncryptFile added in v1.1.0

type EncryptFile struct {
	slip.Function
}

EncryptFile represents the encrypt-file function.

func (*EncryptFile) Call added in v1.1.0

func (f *EncryptFile) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Env added in v0.7.0

type Env struct {
	slip.Function
}

Env represents the env function.

func (*Env) Call added in v0.7.0

func (f *Env) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type FileInfo added in v1.0.0

type FileInfo struct {
	slip.Function
}

FileInfo represents the file-info function.

func (*FileInfo) Call added in v1.0.0

func (f *FileInfo) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type FilepathJoin added in v0.7.0

type FilepathJoin struct {
	slip.Function
}

FilepathJoin represents the filepath-join function.

func (*FilepathJoin) Call added in v0.7.0

func (f *FilepathJoin) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Gc added in v0.9.5

type Gc struct {
	slip.Function
}

Gc represents the gc function.

func (*Gc) Call added in v0.9.5

func (f *Gc) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Getenv added in v0.7.0

type Getenv struct {
	slip.Function
}

Getenv represents the getenv function.

func (*Getenv) Call added in v0.7.0

func (f *Getenv) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Glob added in v1.0.0

type Glob struct {
	slip.Function
}

Glob represents the glob function.

func (*Glob) Call added in v1.0.0

func (f *Glob) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type LockPackage added in v0.9.5

type LockPackage struct {
	slip.Function
}

LockPackage represents the lock-package function.

func (*LockPackage) Call added in v0.9.5

func (f *LockPackage) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MakeApp added in v1.1.0

type MakeApp struct {
	slip.Function
}

MakeApp represents the make-app function.

func (*MakeApp) Call added in v1.1.0

func (f *MakeApp) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MakeChannel

type MakeChannel struct {
	slip.Function
}

MakeChannel represents the makeChannel function.

func (*MakeChannel) Call

func (f *MakeChannel) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MakeOctets added in v0.9.5

type MakeOctets struct {
	slip.Function
}

MakeOctets represents the make-octets function.

func (*MakeOctets) Call added in v0.9.5

func (f *MakeOctets) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MakeTime

type MakeTime struct {
	slip.Function
}

MakeTime represents the makeTime function.

func (*MakeTime) Call

func (f *MakeTime) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MakeUUID added in v0.9.0

type MakeUUID struct {
	slip.Function
}

MakeUUID represents the make-uuid function.

func (*MakeUUID) Call added in v0.9.0

func (f *MakeUUID) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Mapv added in v0.9.5

type Mapv struct {
	slip.Function
}

Mapv represents the mapv function.

func (*Mapv) Call added in v0.9.5

func (f *Mapv) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Memstat added in v0.9.5

type Memstat struct {
	slip.Function
}

Memstat represents the memstat function.

func (*Memstat) Call added in v0.9.5

func (f *Memstat) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type MethodErrorClass added in v0.7.0

type MethodErrorClass struct {
	slip.Function
}

MethodErrorClass represents the method-error-class function.

func (*MethodErrorClass) Call added in v0.7.0

func (f *MethodErrorClass) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type MethodErrorQualifier added in v0.7.0

type MethodErrorQualifier struct {
	slip.Function
}

MethodErrorQualifier represents the method-error-qualifier function.

func (*MethodErrorQualifier) Call added in v0.7.0

func (f *MethodErrorQualifier) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Now

type Now struct {
	slip.Function
}

Now represents the now function.

func (*Now) Call

func (f *Now) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type OctetLength added in v0.9.5

type OctetLength struct {
	slip.Function
}

OctetLength represents the octet-length function.

func (*OctetLength) Call added in v0.9.5

func (f *OctetLength) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type OctetsToString added in v0.8.0

type OctetsToString struct {
	slip.Function
}

OctetsToString represents the octets-to-string function.

func (*OctetsToString) Call added in v0.8.0

func (f *OctetsToString) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type PackageLockedp added in v0.9.5

type PackageLockedp struct {
	slip.Function
}

PackageLockedp represents the package-locked-p function.

func (*PackageLockedp) Call added in v0.9.5

func (f *PackageLockedp) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Panic

type Panic struct {
	slip.Function
}

Panic represents the panic function.

func (*Panic) Call

func (f *Panic) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type ParseFloat added in v0.7.0

type ParseFloat struct {
	slip.Function
}

ParseFloat represents the parse-float function.

func (*ParseFloat) Call added in v0.7.0

func (f *ParseFloat) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Popper added in v0.9.7

type Popper interface {
	// Pop a value from a channel.
	Pop() slip.Object
}

Popper is an interface for popping values from a channel.

type Prefixp added in v0.9.0

type Prefixp struct {
	slip.Function
}

Prefixp represents the prefixp function.

func (*Prefixp) Call added in v0.9.0

func (f *Prefixp) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type PrettyPrint added in v1.1.0

type PrettyPrint struct {
	slip.Function
}

PrettyPrint represents the pretty-print function.

func (*PrettyPrint) Call added in v1.1.0

func (f *PrettyPrint) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type ProcessID added in v0.9.5

type ProcessID struct {
	slip.Function
}

ProcessID represents the process-id function.

func (*ProcessID) Call added in v0.9.5

func (f *ProcessID) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Range added in v0.9.9

type Range struct {
	slip.Function
}

Range represents the range function.

func (*Range) Call added in v0.9.9

func (f *Range) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Ranger added in v0.9.9

type Ranger interface {
	// Range over the values in a collection or channel.
	Range(s *slip.Scope, caller slip.Caller, depth int)
}

Ranger is an interface for ranging over a collection of values or a channel.

type ReadAll added in v0.7.0

type ReadAll struct {
	slip.Function
}

ReadAll represents the read-all function.

func (*ReadAll) Call added in v0.7.0

func (f *ReadAll) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type ReadEach added in v0.9.5

type ReadEach struct {
	slip.Function
}

ReadEach represents the read-each function.

func (*ReadEach) Call added in v0.9.5

func (f *ReadEach) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type ReadPush added in v0.9.5

type ReadPush struct {
	slip.Function
}

ReadPush represents the read-push function.

func (*ReadPush) Call added in v0.9.5

func (f *ReadPush) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Recover

type Recover struct {
	slip.Function
}

Recover represents the recover function.

func (*Recover) Call

func (f *Recover) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type RegexFind added in v0.9.0

type RegexFind struct {
	slip.Function
}

RegexFind represents the regex-find function.

func (*RegexFind) Call added in v0.9.0

func (f *RegexFind) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type RegexFindAll added in v0.9.0

type RegexFindAll struct {
	slip.Function
}

RegexFindAll represents the regex-find-all function.

func (*RegexFindAll) Call added in v0.9.0

func (f *RegexFindAll) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type RegexMatch added in v0.9.0

type RegexMatch struct {
	slip.Function
}

RegexMatch represents the regex-match function.

func (*RegexMatch) Call added in v0.9.0

func (f *RegexMatch) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type ReplaceAll added in v0.9.0

type ReplaceAll struct {
	slip.Function
}

ReplaceAll represents the replace-all function.

func (*ReplaceAll) Call added in v0.9.0

func (f *ReplaceAll) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type ReplaceFirst added in v0.9.0

type ReplaceFirst struct {
	slip.Function
}

ReplaceFirst represents the replace-first function.

func (*ReplaceFirst) Call added in v0.9.0

func (f *ReplaceFirst) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Run

type Run struct {
	slip.Function
}

Run represents the run function.

func (*Run) Call

func (f *Run) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Save added in v0.9.5

type Save struct {
	slip.Function
}

Save represents the save function.

func (*Save) Call added in v0.9.5

func (f *Save) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Select added in v0.9.7

type Select struct {
	slip.Function
}

Select represents the select function.

func (*Select) Call added in v0.9.7

func (f *Select) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type SendSignal added in v0.9.5

type SendSignal struct {
	slip.Function
}

SendSignal represents the send-signal function.

func (*SendSignal) Call added in v0.9.5

func (f *SendSignal) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Setenv added in v0.7.0

type Setenv struct {
	slip.Function
}

Setenv represents the setenv function.

func (*Setenv) Call added in v0.7.0

func (f *Setenv) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type SignalWait added in v0.9.5

type SignalWait struct {
	slip.Function
}

SignalWait represents the signal-wait function.

func (*SignalWait) Call added in v0.9.5

func (f *SignalWait) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Snapshot added in v1.1.0

type Snapshot struct {
	slip.Function
}

Snapshot represents the snapshot function.

func (*Snapshot) Call added in v1.1.0

func (f *Snapshot) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Split added in v0.9.0

type Split struct {
	slip.Function
}

Split represents the split function.

func (*Split) Call added in v0.9.0

func (f *Split) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Strcat added in v0.9.0

type Strcat struct {
	slip.Function
}

Strcat represents the strcat function.

func (*Strcat) Call added in v0.9.0

func (f *Strcat) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type StringRepeat added in v0.8.0

type StringRepeat struct {
	slip.Function
}

StringRepeat represents the string-repeat function.

func (*StringRepeat) Call added in v0.8.0

func (f *StringRepeat) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type StringToOctets added in v0.8.0

type StringToOctets struct {
	slip.Function
}

StringToOctets represents the string-to-octets function.

func (*StringToOctets) Call added in v0.8.0

func (f *StringToOctets) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type Suffixp added in v0.9.0

type Suffixp struct {
	slip.Function
}

Suffixp represents the suffixp function.

func (*Suffixp) Call added in v0.9.0

func (f *Suffixp) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeAdd added in v0.9.7

type TimeAdd struct {
	slip.Function
}

TimeAdd represents the time-add function.

func (*TimeAdd) Call added in v0.9.7

func (f *TimeAdd) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeAfter added in v0.9.7

type TimeAfter struct {
	slip.Function
}

TimeAfter represents the time-after function.

func (*TimeAfter) Call added in v0.9.7

func (f *TimeAfter) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeChannel added in v0.9.7

type TimeChannel <-chan time.Time

TimeChannel is a chan of time.Time that pops slip.Time Objects.

func (TimeChannel) Append added in v0.9.7

func (obj TimeChannel) Append(b []byte) []byte

Append a buffer with a representation of the Object.

func (TimeChannel) Equal added in v0.9.7

func (obj TimeChannel) Equal(other slip.Object) (eq bool)

Equal returns true if this Object and the other are equal in value.

func (TimeChannel) Eval added in v0.9.7

func (obj TimeChannel) Eval(s *slip.Scope, depth int) slip.Object

Eval returns self.

func (TimeChannel) Hierarchy added in v0.9.7

func (obj TimeChannel) Hierarchy() []slip.Symbol

Hierarchy returns the class hierarchy as symbols for the channel.

func (TimeChannel) Length added in v0.9.7

func (obj TimeChannel) Length() int

Length returns the length of the object.

func (TimeChannel) Pop added in v0.9.7

func (obj TimeChannel) Pop() slip.Object

Pop a value from a channel.

func (TimeChannel) Range added in v0.9.9

func (obj TimeChannel) Range(s *slip.Scope, caller slip.Caller, depth int)

Range over the values in a channel.

func (TimeChannel) Simplify added in v0.9.7

func (obj TimeChannel) Simplify() interface{}

Simplify by returning the string representation of the flavor.

func (TimeChannel) String added in v0.9.7

func (obj TimeChannel) String() string

String representation of the Object.

type TimeComponents added in v0.9.7

type TimeComponents struct {
	slip.Function
}

TimeComponents represents the time-components function.

func (*TimeComponents) Call added in v0.9.7

func (f *TimeComponents) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeElapsed added in v0.9.7

type TimeElapsed struct {
	slip.Function
}

TimeElapsed represents the time-elapsed function.

func (*TimeElapsed) Call added in v0.9.7

func (f *TimeElapsed) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeFormat

type TimeFormat struct {
	slip.Function
}

TimeFormat represents the timeFormat function.

func (*TimeFormat) Call

func (f *TimeFormat) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeIn

type TimeIn struct {
	slip.Function
}

TimeIn represents the timeIn function.

func (*TimeIn) Call

func (f *TimeIn) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeTicker added in v0.9.7

type TimeTicker struct {
	slip.Function
}

TimeTicker represents the time-ticker function.

func (*TimeTicker) Call added in v0.9.7

func (f *TimeTicker) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeToUniversal added in v1.0.0

type TimeToUniversal struct {
	slip.Function
}

TimeToUniversal represents the time-to-universal function.

func (*TimeToUniversal) Call added in v1.0.0

func (f *TimeToUniversal) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TimeUnix added in v0.9.7

type TimeUnix struct {
	slip.Function
}

TimeUnix represents the time-unix function.

func (*TimeUnix) Call added in v0.9.7

func (f *TimeUnix) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type TimeUtc

type TimeUtc struct {
	slip.Function
}

TimeUtc represents the time-utc function.

func (*TimeUtc) Call

func (f *TimeUtc) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Timep

type Timep struct {
	slip.Function
}

Timep represents the timep function.

func (*Timep) Call

func (f *Timep) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TrimPrefix added in v0.9.0

type TrimPrefix struct {
	slip.Function
}

TrimPrefix represents the trim-prefix function.

func (*TrimPrefix) Call added in v0.9.0

func (f *TrimPrefix) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TrimSpace added in v0.9.0

type TrimSpace struct {
	slip.Function
}

TrimSpace represents the trim-space function.

func (*TrimSpace) Call added in v0.9.0

func (f *TrimSpace) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type TrimSuffix added in v0.9.0

type TrimSuffix struct {
	slip.Function
}

TrimSuffix represents the trim-suffix function.

func (*TrimSuffix) Call added in v0.9.0

func (f *TrimSuffix) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type UUID added in v0.9.0

type UUID [2]uint64

UUID is a pair of uint64 as an array which represents a Version 4 UUID.

func NewUUID added in v0.9.0

func NewUUID() (u UUID)

NewUUID create a new version 4, a random UUID.

func UUIDParse added in v0.9.0

func UUIDParse(s string) (u UUID)

UUIDParse parses a UUID formatted string and create a new UUID. The function is tolerant of the format but will return a zero UUID if parsing fails.

func (UUID) Append added in v0.9.0

func (obj UUID) Append(b []byte) []byte

Append a buffer with a representation of the Object.

func (UUID) AppendIETF added in v0.9.0

func (obj UUID) AppendIETF(b []byte) []byte

AppendIETF appends an IETF string representation of the UUID.

func (UUID) Bytes added in v0.9.0

func (obj UUID) Bytes() []byte

Bytes representation of the UUID.

func (UUID) Equal added in v0.9.0

func (obj UUID) Equal(other slip.Object) (eq bool)

Equal returns true if this Object and the other are equal in value.

func (UUID) Eval added in v0.9.0

func (obj UUID) Eval(s *slip.Scope, depth int) slip.Object

Eval returns self.

func (UUID) Hierarchy added in v0.9.0

func (obj UUID) Hierarchy() []slip.Symbol

Hierarchy returns the class hierarchy as symbols for the uuid.

func (UUID) IETF added in v0.9.0

func (obj UUID) IETF() string

IETF string representation of the UUID.

func (UUID) IsNil added in v0.9.0

func (obj UUID) IsNil() bool

IsNil returns true if all bytes in the UUID are zero.

func (UUID) LoadForm added in v1.3.1

func (obj UUID) LoadForm() slip.Object

LoadForm returns a form that can be evaluated to create the object.

func (UUID) Simplify added in v0.9.0

func (obj UUID) Simplify() interface{}

Simplify by returning the string representation of the UUID.

func (UUID) String added in v0.9.0

func (obj UUID) String() string

String representation of the Object.

type UUIDString added in v0.9.0

type UUIDString struct {
	slip.Function
}

UUIDString represents the uuid-string function.

func (*UUIDString) Call added in v0.9.0

func (f *UUIDString) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type UUIDValues added in v0.9.0

type UUIDValues struct {
	slip.Function
}

UUIDValues represents the uuid-values function.

func (*UUIDValues) Call added in v0.9.0

func (f *UUIDValues) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type UniversalToTime added in v1.0.0

type UniversalToTime struct {
	slip.Function
}

UniversalToTime represents the universal-to-time function.

func (*UniversalToTime) Call added in v1.0.0

func (f *UniversalToTime) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type UnixTime added in v0.9.7

type UnixTime struct {
	slip.Function
}

UnixTime represents the unix-time function.

func (*UnixTime) Call added in v0.9.7

func (f *UnixTime) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type UnlockPackage added in v0.9.5

type UnlockPackage struct {
	slip.Function
}

UnlockPackage represents the unlock-package function.

func (*UnlockPackage) Call added in v0.9.5

func (f *UnlockPackage) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Unsetenv added in v0.7.0

type Unsetenv struct {
	slip.Function
}

Unsetenv represents the unsetenv function.

func (*Unsetenv) Call added in v0.7.0

func (f *Unsetenv) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Unzip added in v1.1.0

type Unzip struct {
	slip.Function
}

Unzip represents the unzip function.

func (*Unzip) Call added in v1.1.0

func (f *Unzip) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type WithInputFromOctets added in v1.1.0

type WithInputFromOctets struct {
	slip.Function
}

WithInputFromOctets represents the with-input-from-octets function.

func (*WithInputFromOctets) Call added in v1.1.0

func (f *WithInputFromOctets) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type WithZipReader added in v1.1.0

type WithZipReader struct {
	slip.Function
}

WithZipReader represents the with-zip-reader function.

func (*WithZipReader) Call added in v1.1.0

func (f *WithZipReader) Call(s *slip.Scope, args slip.List, depth int) (result slip.Object)

Call the function with the arguments provided.

type WithZipWriter added in v1.1.0

type WithZipWriter struct {
	slip.Function
}

WithZipWriter represents the with-zip-writer function.

func (*WithZipWriter) Call added in v1.1.0

func (f *WithZipWriter) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Zip added in v1.1.0

type Zip struct {
	slip.Function
}

Zip represents the zip function.

func (*Zip) Call added in v1.1.0

func (f *Zip) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

Jump to

Keyboard shortcuts

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