first commit

This commit is contained in:
Mrx
2026-01-30 15:56:38 +08:00
commit 9227e845cb
609 changed files with 64736 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package svc
import (
{{.configImport}}
)
type ServiceContext struct {
Config {{.config}}
{{.middleware}}
}
func NewServiceContext(c {{.config}}) *ServiceContext {
return &ServiceContext{
Config: c,
{{.middlewareAssignment}}
}
}