Revert "TUN-10557: Bump quic-go v0.59.1"

This reverts merge request !1850
This commit is contained in:
Miguel da Costa Martins Marcelino
2026-06-18 13:30:00 +00:00
parent 3315fa6e0f
commit 2bcaf09734
367 changed files with 76596 additions and 8761 deletions
+28
View File
@@ -0,0 +1,28 @@
package sprig
import (
"fmt"
"reflect"
)
// typeIs returns true if the src is the type named in target.
func typeIs(target string, src interface{}) bool {
return target == typeOf(src)
}
func typeIsLike(target string, src interface{}) bool {
t := typeOf(src)
return target == t || "*"+target == t
}
func typeOf(src interface{}) string {
return fmt.Sprintf("%T", src)
}
func kindIs(target string, src interface{}) bool {
return target == kindOf(src)
}
func kindOf(src interface{}) string {
return reflect.ValueOf(src).Kind().String()
}