kis-flow/kis/utils.go
2024-03-19 19:17:33 +08:00

12 lines
175 B
Go

package kis
import (
"reflect"
"strings"
)
func isContextType(paramType reflect.Type) bool {
typeName := paramType.Name()
return strings.Contains(typeName, "Context")
}