go-erorr/errorf.go

10 lines
122 B
Go

package erorr
import (
"fmt"
)
func Errorf(format string, a ...interface{}) error {
return fmt.Errorf(format, a...)
}