Skip to content

delay package is not working. #89

@koba-ninkigumi

Description

@koba-ninkigumi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions