fusenapi/goctl_template_backend/rpc/svc.tpl
2023-06-25 18:30:39 +08:00

14 lines
188 B
Smarty

package svc
import {{.imports}}
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config:c,
}
}