fix: added the declaration of the method to the interface.

This commit is contained in:
AH-dark 2022-08-23 12:54:50 +08:00
parent 4ec29dc2d9
commit 1c1da49bb1
No known key found for this signature in database
GPG Key ID: 73D3D212EB75AB80
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ type IRoutes interface {
Use(...HandlerFunc) IRoutes
Handle(string, string, ...HandlerFunc) IRoutes
Handles([]string, string, ...HandlerFunc) IRoutes
Any(string, ...HandlerFunc) IRoutes
GET(string, ...HandlerFunc) IRoutes
POST(string, ...HandlerFunc) IRoutes