prefix.go
func (ui *PrefixUI) Success(message string) {
	if ui.SuccessPrefix == " " { //Lets keep the space if they want one
		message = ui.SuccessPrefix + message
	} else if ui.SuccessPrefix != "" {
		message = ui.SuccessPrefix + " " + message
	}
	ui.UI.Success(message)
}
func (ui *PrefixUI) Success(message string) {
	if ui.SuccessPrefix == " " { //Lets keep the space if they want one
		message = ui.SuccessPrefix + message
	} else if ui.SuccessPrefix != "" {
		message = ui.SuccessPrefix + " " + message
	}
	ui.UI.Success(message)
}
func ( ui * PrefixUI ) Success ( message string ) { if ui . SuccessPrefix == " " { //Lets keep the space if they want one message = ui . SuccessPrefix + message } else if ui . SuccessPrefix != " " { message = ui . SuccessPrefix + " " + message } ui . UI . Success ( message ) }
// Success calls UI.Success to write.
// Useful when you want separate colors or prefixes.
// SuccessPrefix is used to prefix the message.
Success calls UI . Success to write . Useful when you want separate colors or prefixes . SuccessPrefix is used to prefix the message .