refactor: Use pointers for controllers

This commit is contained in:
2025-08-19 21:05:16 +03:00
parent 4e186de981
commit 9d43c10488
3 changed files with 4 additions and 4 deletions

View File

@@ -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(),
}
}