13 lines
147 B
Go
13 lines
147 B
Go
|
package fck
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func Errorf(format string, a ...interface{}) error {
|
||
|
|
||
|
var s string =fmt.Sprintf(format, a...)
|
||
|
|
||
|
return Error(s)
|
||
|
}
|