refactor: Use pointers for controllers
This commit is contained in:
@@ -17,8 +17,8 @@ import (
|
||||
|
||||
func getControllers() []controller.Controller {
|
||||
return []controller.Controller{
|
||||
ping.Controller{}.New(),
|
||||
service.Controller{}.New(),
|
||||
new(ping.Controller).New(),
|
||||
new(service.Controller).New(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user