mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
commands: Delete unused newUserErrorF
This commit is contained in:
1 parent
5867cb5a92
commit
1e18087356
1 file changed
-4
@@ -79,10 +79,6 @@ func newUserError(a ...interface{}) commandError {
|
|||||||
return commandError{s: fmt.Sprintln(a...), userError: true}
|
return commandError{s: fmt.Sprintln(a...), userError: true}
|
||||||
}
|
}
|
||||||
|
|
||||||
func newUserErrorF(format string, a ...interface{}) commandError {
|
|
||||||
return commandError{s: fmt.Sprintf(format, a...), userError: true}
|
|
||||||
}
|
|
||||||
|
|
||||||
func newSystemError(a ...interface{}) commandError {
|
func newSystemError(a ...interface{}) commandError {
|
||||||
return commandError{s: fmt.Sprintln(a...), userError: false}
|
return commandError{s: fmt.Sprintln(a...), userError: false}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user