fusenapi/goctl_template/rpc/svc.tpl
2023-06-05 17:56:55 +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,
}
}