Update to new goprogram version
This commit is contained in:
parent
7bd9570bc0
commit
873fdcd5c2
106 changed files with 478 additions and 825 deletions
|
|
@ -20,7 +20,7 @@ import (
|
|||
// Server represents the running control server.
|
||||
type Server struct {
|
||||
component.Base
|
||||
Dependencies struct {
|
||||
dependencies struct {
|
||||
Routeables []component.Routeable
|
||||
Cronables []component.Cronable
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ func (server *Server) Server(ctx context.Context, progress io.Writer) (public ht
|
|||
csrfProtector := server.csrf()
|
||||
|
||||
// iterate over all the handler
|
||||
for _, s := range server.Dependencies.Routeables {
|
||||
for _, s := range server.dependencies.Routeables {
|
||||
routes := s.Routes()
|
||||
zerolog.Ctx(ctx).Info().
|
||||
Str("Name", s.Name()).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue