stage

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distance

type Distance int
const (
	Short      Distance = iota // 4 sectors
	Long                       // 8 sectors
	ReallyLong                 // 16 sectors?
	Unknown
)

func (Distance) Emoji

func (d Distance) Emoji() string

func (Distance) String added in v0.2.0

func (d Distance) String() string

type Model

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

func AtLocation

func AtLocation(l location.Model) []Model

func AtLocationWithDistance added in v0.2.0

func AtLocationWithDistance(l location.Model, d Distance) []Model

func New

func New(name string, location location.Model, distance Distance) Model

func (Model) Distance

func (m Model) Distance() Distance

func (Model) FancyString

func (m Model) FancyString() string

func (Model) Location

func (m Model) Location() location.Model

func (Model) Name

func (m Model) Name() string

func (Model) String

func (m Model) String() string

Jump to

Keyboard shortcuts

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