Renaming rampage
Addressing the comments in #591, router.String() now returns "default" Furthermore, a tonne of other renaming has been included in this commit as a result of running go vet ./... inside the router package.
This commit is contained in:
@@ -29,10 +29,10 @@ type Table interface {
|
||||
Size() int
|
||||
}
|
||||
|
||||
// TableOption used by the routing table
|
||||
type TableOption func(*TableOptions)
|
||||
// Option used by the routing table
|
||||
type Option func(*Options)
|
||||
|
||||
// NewTable creates new routing table and returns it
|
||||
func NewTable(opts ...TableOption) Table {
|
||||
func NewTable(opts ...Option) Table {
|
||||
return newTable(opts...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user