aliases

package
v0.0.0-...-e5a9b9a Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Aliases = make(map[string]*Alias)

хранилище всех алиасов

Functions

func Clear

func Clear()

очистка хранилища алиасов

func IsAliasExists

func IsAliasExists(n string) bool

существует ли алиас в мапе

Types

type Alias

type Alias struct {
	// contains filtered or unexported fields
}

func (*Alias) GetClosure

func (a *Alias) GetClosure() *object.NativeFunc

func (*Alias) GetDescription

func (a *Alias) GetDescription() string

func (*Alias) GetUsage

func (a *Alias) GetUsage() string

func (*Alias) GetVisible

func (a *Alias) GetVisible() bool

func (*Alias) SetClosure

func (a *Alias) SetClosure(closure *object.NativeFunc)

func (*Alias) SetDescription

func (a *Alias) SetDescription(description string)

func (*Alias) SetUsage

func (a *Alias) SetUsage(usage string)

func (*Alias) SetVisible

func (a *Alias) SetVisible(flag bool)

Jump to

Keyboard shortcuts

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