func askForChangelogPath() (string, error) { fmt.Println() answer, err := goinp.AskForStringWithDefault("Type in changelog path!", defaultChangelogPath) if err != nil { return "", err } if answer == "" { answer = defaultChangelogPath } return answer, nil }
func askForReleaseVersion() (string, error) { fmt.Println() answer, err := goinp.AskForStringWithDefault("Type in the new release version!", defaultFirstReleaseVersion) if err != nil { return "", err } if answer == "" { answer = defaultFirstReleaseVersion } return answer, nil }