updated the reutrn type of the NewRouter method

This commit is contained in:
2017-12-13 14:11:16 +00:00
parent 0757d1492e
commit 95400f4e69
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
)
func NewRouter() *DefaultRouter {
func NewRouter() Router {
return &DefaultRouter{}
}