gin
gin copied to clipboard
feat: use the `Handles` method to register handles of multiple methods at the same time
Handles
supports declaring multiple http methods for a request handle at the same time.
For some handlers that need to support more than two http methods at the same time but do not need to support all the handlers, this can make the handler registration more concise and precise.