fix: modify interface check way (#3327)

This commit is contained in:
Jesse
2022-10-20 00:49:19 +08:00
committed by GitHub
parent 33ab0fc155
commit 51aea73ba0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ type Engine struct {
trustedCIDRs []*net.IPNet
}
var _ IRouter = &Engine{}
var _ IRouter = (*Engine)(nil)
// New returns a new blank Engine instance without any middleware attached.
// By default, the configuration is: