Update deps

This commit is contained in:
Frank Denis 2023-03-23 12:54:45 +01:00
parent beb002335f
commit a47f7fe750
1943 changed files with 7896 additions and 330590 deletions

View file

@ -30,7 +30,7 @@ func callerFuncName(stack int) string {
return strings.TrimPrefix(funcNameAt(pc), "(*C).")
}
func funcName(f interface{}) string {
func funcName(f any) string {
return funcNameAt(reflect.ValueOf(f).Pointer())
}
@ -48,7 +48,7 @@ func funcNameAt(pc uintptr) string {
return name
}
func format(msg ...interface{}) string {
func format(msg ...any) string {
if len(msg) > 1 {
return fmt.Sprintf(msg[0].(string), msg[1:]...)
}