add AlreadyHaveResult function

This commit is contained in:
bryanqiu 2024-02-04 15:34:07 +08:00
parent 69b0fb05aa
commit 98eac47127

View File

@ -121,7 +121,7 @@ func (c *Context) SetCookie(cookie *http.Cookie) {
}
func (c *Context) AlreadyHaveResult() (done bool, entry string) {
return c.resultentry == "", c.resultentry
return c.resultentry != "", c.resultentry
}
func (c *Context) RESULT(output interface{}) error {