snack

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 8 Imported by: 0

README

Snack

Snack is a simple command line application to help you determine how much food to take on a hike/run/ride. It takes a csv file with your splits and an optional interval value for how often you intend to eat.

CSV setup

Your csv file should contain two columns. The first column's value is the distance you plan to cover in that section. The second column is your speed in mph or kph. For example:

7.7 2.5
12.5 2.5
22.1 2.5

Usage

snack [file.csv]

Options
-interval

snack -interval=40 [file.csv]

If you do not include the optional -interval flag, we will assume an interval of 45 minutes.

-p

Use pace, rather than speed for your calculations.

7.7 12:34
12.5 11:38
22.1 14:00

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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