- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pt (0.12 sec)
-
internal/config/config.go
} // Error creates an error message and wraps // it with the error type specified in the type parameter func Error[T ErrorConfig, PT interface { *T setMsg(string) }](format string, vals ...interface{}, ) T { pt := PT(new(T)) pt.setMsg(fmt.Sprintf(format, vals...)) return *pt } // Errorf formats an error and returns it as a generic config error func Errorf(format string, vals ...interface{}) ErrConfigGeneric {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0)