drop

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const OpCode = "drop"

OpCode identifier for operation drop

Variables

This section is empty.

Functions

This section is empty.

Types

type Drop

type Drop struct {
	ItemsValue reflect.Value
	ItemsType  reflect.Type
	Item       interface{}
	Option     Option
}

Drop struct for operation

func (*Drop) Run

func (op *Drop) Run() (reflect.Value, *errors.Error)

Run performs the operations whenever is called

type Option added in v0.0.5

type Option int

Option defines drop option

const (
	None Option = iota
	Left
	Right
)

Options

Jump to

Keyboard shortcuts

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