···234234 fmt.Printf("Description:\n%s\n\n", *profile.Description)
235235 fmt.Print("Keep this record ([Y]es / [n]o / [q]uit)? ")
236236237237+ user_input:
237238 var answer string
238239 _, err = fmt.Scanln(&answer)
239240 if err != nil {
···251252 fmt.Println("Quit")
252253 return
253254 default:
254254- // TODO: Replace this, just ask the user again
255255- panic("Input should be either y, n, or q")
255255+ fmt.Println("Expected either 'y', 'n', or 'q'")
256256+ fmt.Print("Keep this record ([Y]es / [n]o / [q]uit)? ")
257257+ goto user_input
256258 }
257259258260 fmt.Printf("\x1b[2J")