-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Description
Old Package "appengine/delay" is good for me.
But "google.golang.org/appengine/delay" is not working.
Error log is "delay: func is invalid: first argument must be context.Context".
Now, I changed line 115 of "google.golang.org/appengine/delay".
- if t.NumIn() == 0 || t.In(0) != contextType {
+ if t.NumIn() == 0 || fmt.Sprint(t.In(0)) != fmt.Sprint(contextType) || reflect.TypeOf(t.In(0)) != reflect.TypeOf(contextType) {
This solution is good for me.
What do you think?
Thanks.
110y
Metadata
Metadata
Assignees
Labels
No labels