From 0456ea2a11f6e6cdf452fdce6ba08e9bc1fc83bc Mon Sep 17 00:00:00 2001 From: Christian Sueiras Date: Wed, 17 Feb 2021 09:03:23 -0500 Subject: [PATCH] Reference the generated constants in README example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac4bf72..2b447c3 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ r := runner.NewFactory( ``` errPredicate := func(method string, err error) bool { - if method == "DoOperation" && errors.Is(client.NotFound, err) { + if method == reinforced.ClientMethods.DoOperation && errors.Is(client.NotFound, err) { return false } return true