Removed DefaultTable() from global vars
We will not initialize DefaultTable as global var unless the users asks for it explicitly.
This commit is contained in:
@@ -6,8 +6,6 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
// DefaultRouter returns default micro router
|
||||
DefaultTable = NewTable()
|
||||
// ErrRouteNotFound is returned when no route was found
|
||||
ErrRouteNotFound = errors.New("route not found")
|
||||
// ErrDuplicateRoute is return when route already exists
|
||||
|
||||
Reference in New Issue
Block a user