add AlreadyHaveResult function
This commit is contained in:
parent
69b0fb05aa
commit
98eac47127
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user