(db persistence.Storage)
| 76 | // ServiceSpec is an interface we need because of generics foo. |
| 77 | type ServiceSpec interface { |
| 78 | NewService(db persistence.Storage) (svc service.Service, grpcOpts []server.StartGRPCServerOption, err error) |
| 79 | } |
| 80 | |
| 81 | func NewServiceSpec[T service.Service](nsf NewServiceFunc[T], wsf WithStorageFunc[T], init ServiceInitFunc[T], opts ...service.Option[T]) ServiceSpec { |
no outgoing calls