yogapick

package module
v0.0.0-...-9ef964b Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: MIT Imports: 6 Imported by: 0

README

Go Reference Go Report Card CI Audit

yogapick

Yogapick logo

yogapick is a yoga session planner that chooses three random poses (asanas) for you each time you run it.

Installation

To install:

go install github.com/bitfield/yogapick/cmd/yogapick@latest

To run the tool without installing:

go run github.com/bitfield/yogapick/cmd/yogapick@latest

Usage

yogapick
Cobra (Bhujangasana)
Warrior I (Virabhadrasana I)
Cat-Cow (Marjaryasana/Bitilasana)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPoses []byte

Functions

func LoadPoses

func LoadPoses(path string) ([]string, error)

LoadPoses reads all lines from the given file.

func Suggest

func Suggest(poses []string, count int) iter.Seq[string]

Suggest returns an iterator of up to count distinct poses selected at random without replacement from poses. If len(poses) < count, it yields all poses in a random order.

Types

This section is empty.

Directories

Path Synopsis
cmd
yogapick command

Jump to

Keyboard shortcuts

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