Documentation
¶
Overview ¶
Package prompt provides functions for prompting the user to insert something.
Index ¶
- func Confirm(question string) bool
- func EditGoal(goal *models.Goal) *models.Goal
- func EditProgress(p *models.Progress) *models.Progress
- func InsertGoal(goals *[]models.Goal) (name, date, note string)
- func InsertProgress(progresses *[]models.Progress) (int64, string, string)
- func SelectGoal(goals *[]models.Goal) *models.Goal
- func SelectProgress(goal *models.Goal) *models.Progress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditProgress ¶
EditProgress prompts the user to re-insert progress fields.
func InsertGoal ¶
InsertGoal prompts the user to insert the fields of a new goal.
func InsertProgress ¶
InsertProgress prompts the user to insert the fields of a new progress.
func SelectGoal ¶
SelectGoal prompts the user to select one of the goals in goals array parameter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.