Documentation ¶
Index ¶
- func Confirm(msg string) error
- func FindItem(items []Item, ID int) (index int, err error)
- func InitJSON(name string) error
- func NextID(items []Item) int
- func PrintDetailed(i Item) error
- func PrintItems(items []Item, verbose bool) error
- func ReadDetails(r *bufio.Reader) (string, error)
- func WriteJSON(items []Item, name string) (err error)
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintItems ¶
PrintItems dumps a slice of items, optionally being a bit more verbose
func ReadDetails ¶
ReadDetails reads details from a specfied Reader
Types ¶
Click to show internal directories.
Click to hide internal directories.