chore: apply some linter recommendations.
This commit is contained in:
parent
3b6b50cf63
commit
984cf28e61
37 changed files with 125 additions and 126 deletions
|
|
@ -81,7 +81,7 @@ func Warning(msg string, a ...interface{}) int {
|
|||
return Print("%s", Warningf(msg, a...))
|
||||
}
|
||||
|
||||
// Fatalf returns a formatted error message
|
||||
// Error returns a formatted error message
|
||||
func Error(msg string, a ...interface{}) int {
|
||||
return Print("%s", fmt.Sprintf("%s%s%s\n", Indent, errorText, fmt.Sprintf(msg, a...)))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue