mapping

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

type Mapper interface {
	MustInterpolate(key string) string
	IsZero() bool
}

Mapper should return a list of available release versions

type Remapper

type Remapper map[string]string

Remapper contains list definition

func (Remapper) IsZero

func (r Remapper) IsZero() bool

IsZero returns true if the map is empty

func (Remapper) MustInterpolate

func (r Remapper) MustInterpolate(k string) string

MustInterpolate interpolates a key

Jump to

Keyboard shortcuts

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