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