Vendor module (go-resty) problem ?!

I am trying create plugin and got Traefiker Bot issue. It report the vendor module (go-resty) problem. issue message as below:

vendor/github.com/go-resty/resty/v2/request.go:605:48: cannot use type resty.RetryConditionFunc as type func(*unsafe2.dummy, error) bool

anyone could help? how i can overcome this issue? Thank you.

my plugin :

github issue:

I have no knowledge about GO, but the error seems to indicate that the function call is not correct - check your parameters and parameter types.

Thank you for your reply.

In my code, i hadn't use the function call that metion on error message. The issue message point out the the line is "import" external library on my code, seem meaningless and hard to trace the problem. :~(