aliases

package
v0.0.0-...-d71205c Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasList

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

AliasList struct to contain a slice of Alias structs

func NewAliasList

func NewAliasList() *AliasList

NewAliasList will instantiate an AliasList struct

func (*AliasList) Add

func (list *AliasList) Add(item *alias.Alias)

Add an alias to an AliasList

func (*AliasList) Generate

func (list *AliasList) Generate(key string)

Generate an AliasList from a given key from all available aliases

func (*AliasList) GetNames

func (list *AliasList) GetNames() []string

GetNames gets a list of alias names from the AliasList items

Jump to

Keyboard shortcuts

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