fusenapi/goctl_template/rpc/svc.tpl

14 lines
188 B
Smarty
Raw Normal View History

2023-06-05 09:56:55 +00:00
package svc
import {{.imports}}
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config:c,
}
}