go-erorr/errorf.go

13 lines
147 B
Go
Raw Normal View History

2021-11-19 23:41:30 +00:00
package fck
import (
"fmt"
)
func Errorf(format string, a ...interface{}) error {
var s string =fmt.Sprintf(format, a...)
return Error(s)
}