Skip to content

Conversation

@cristiandean
Copy link
Contributor

@cristiandean cristiandean commented Oct 21, 2021

This pull request improves the extensibility of this middleware allowing new params implementation without breaking changes.

how to test

 go run example/customConfig/main.go

and

 go run example/defaultConfig/main.go 

Another improvement is that you can change only one parameter keeping the others as default. This was not possible before.

PS. This is a breaking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant