packages

package
v0.0.0-...-fec82c7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Packages is a where all the packages are stored so they can be imported when wanted
	Packages = make(map[string]map[string]interface{}, 16)
	// PackageTypes is a where all the package types are stored so they can be imported when wanted
	PackageTypes = make(map[string]map[string]interface{}, 4)
)

Functions

func DefineImport

func DefineImport(e *vm.Env)

DefineImport defines the vm import command that will import packages and package types when wanted

Types

type SortFuncsStruct

type SortFuncsStruct struct {
	LenFunc  func() int
	LessFunc func(i, j int) bool
	SwapFunc func(i, j int)
}

SortFuncsStruct provides functions to be used with Sort

func (SortFuncsStruct) Len

func (s SortFuncsStruct) Len() int

func (SortFuncsStruct) Less

func (s SortFuncsStruct) Less(i, j int) bool

func (SortFuncsStruct) Swap

func (s SortFuncsStruct) Swap(i, j int)

Jump to

Keyboard shortcuts

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