srb2rot

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentRotation

type CurrentRotation map[string]string

func (CurrentRotation) String

func (c CurrentRotation) String() string

type RotationData

type RotationData struct {
	Base      []string
	Rotations map[string]RotationMap
	Current   CurrentRotation
}

func BumpCurrent

func BumpCurrent(data RotationData) RotationData

func ScanFolder

func ScanFolder(root string) (RotationData, error)

func (RotationData) CurrentRotations

func (data RotationData) CurrentRotations() RotationMap

type RotationMap

type RotationMap map[string][]string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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