timer

command module
v0.0.0-...-4615cbc Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: BSD-3-Clause Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Timer

Build Status Build status Maintainability Go Report Card GolangCI GoDoc

Simple timer with acoustic alarm

Build

make

Usage

The basic usage is to pass a duration compatible with ParseDuration

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

./timer 25m

It's possible to pass mutiple durations.

./timer 25m 5m

If you want to repeat this secuence of durations just use the repeat option.

./timer 25m 5m -r

It's also possible to mute the acoustic signal.

./timer 25m -m

Documentation

Documentation is available at godoc

Contributions

Thanks to juskiddink for his gong.wav sound

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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