add

package
v1.0.1-dev.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EventTemplate = `` /* 669-byte string literal not displayed */

EventTemplate is a Go template which is used to generate a JSON representation of an Event. The data associated with this template is a modes.Event

This template requires a function 'lastElem' which accepts and index(int) and a slice of Readings and determines if the index is the last one in the array.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the add event command

Types

This section is empty.

Jump to

Keyboard shortcuts

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