reader := bufio.NewReader(os.Stdin)
fmt.Print("Do you want to add music? (If so, enter the full path of the folder with music, if not, press enter): ")
text, _ := reader.ReadString('\n')
fmt.Println(text)
Then, use the config-default.cfg if config.cfg doesn't exist. Ask user for the folder to populate with, and then save a config.cfg file.
Using
Then, use the config-default.cfg if config.cfg doesn't exist. Ask user for the folder to populate with, and then save a config.cfg file.