Versions in this module Expand all Collapse all v0 v0.0.1 Jul 21, 2022 Changes in this version + var ForbiddenMethod = errors.New("forbidden method") + var UnimplementedMethod = errors.New("unimplemented method") + var WrapFormat = func(err error, fileline string, format string, a ...interface{}) error + func Contract(filename string, maxLength int) string + func Error(fileline string, text string) error + func Errorf(fileline string, format string, a ...interface{}) error + func HasReceiver(t reflect.Type, receiver reflect.Type) bool + func IsConstructor(t reflect.Type) bool + func IsContextType(t reflect.Type) bool + func IsErrorType(t reflect.Type) bool + func IsFuncType(t reflect.Type) bool + func IsNil(v reflect.Value) bool + func IsPrimitiveValueType(t reflect.Type) bool + func IsStructPtr(t reflect.Type) bool + func IsValidConverter(t reflect.Type) bool + func IsValueType(t reflect.Type) bool + func ReturnNothing(t reflect.Type) bool + func ReturnOnlyError(t reflect.Type) bool + func T(a ...interface{}) []interface + func Wrap(err error, fileline string, text string) error + func Wrapf(err error, fileline string, format string, a ...interface{}) error + type Converter interface + type PanicCond struct + func NewPanicCond(fn func() interface{}) *PanicCond + func Panic(err error) *PanicCond + func (p *PanicCond) When(isPanic bool)