Get
should return a value RVV-A0006177 }
178}
179
180func getAnswers(params *editParams, issue *jira.Issue) {181 answer := struct{ Action string }{}
182 for answer.Action != cmdcommon.ActionSubmit {
183 err := survey.Ask([]*survey.Question{cmdcommon.GetNextAction()}, &answer)
Typically, functions with names prefixed with Get are supposed to return a value.
func GetData(n int) {
fmt.Println(10 - n)
}
func GetData(n int) int {
fmt.Println(10 - n)
return 10 - n
}