mirror of
https://github.com/aceld/kis-flow.git
synced 2025-02-02 15:28:38 +08:00
12 lines
175 B
Go
12 lines
175 B
Go
package kis
|
|
|
|
import (
|
|
"reflect"
|
|
"strings"
|
|
)
|
|
|
|
func isContextType(paramType reflect.Type) bool {
|
|
typeName := paramType.Name()
|
|
return strings.Contains(typeName, "Context")
|
|
}
|