diff --git a/.gitignore b/.gitignore index 8f3433e..dffcf38 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ main/ .idea/ vendor/ bin/ -covprofile \ No newline at end of file +covprofile +.okgit/ \ No newline at end of file diff --git a/README.md b/README.md index 94fd325..150adb7 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ import "github.com/rajnandan1/go-tripper" ### Adding a Circuit To add a circuit to the Tripper, use the `ConfigureCircuit` function: + #### Circuit With Count + ```go //Adding a circuit that will trip the circuit if count of failure is more than 10 in 1 minute //for a minimum of 100 count