Core

/app/core.go (285 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
package app

import (
"context"

{{{ .ServicesImports }}}
)

{{{ .ServicesDefinition }}}

func initCoreServices(ctx context.Context, st *State{{{ if .HasModule "audit" }}}, auditSvc *audit.Service{{{ end }}}, logger util.Logger) CoreServices {
return {{{ .ServicesConstructor }}}
}