go-erorr/errorf.go

10 lines
122 B
Go
Raw Normal View History

package erorr
2021-11-19 23:41:30 +00:00
import (
"fmt"
)
func Errorf(format string, a ...interface{}) error {
2023-09-22 20:24:59 +00:00
return fmt.Errorf(format, a...)
2021-11-19 23:41:30 +00:00
}