Open MacklinEngineering opened 2 years ago
Generic methods that take user provided func
s and validates with them. The signature might look something like:
func (r *Response) AssertBodyStringFunc(func(body, val string) bool, val string) *Response
func (r *Response) AssertBodyStringsFunc(func(body, val string) bool, vals []string) *Response
A place for us to add thoughts on which methods we might want to implement into response.go!