servicecontext.go 211 B

123456789101112131415
  1. package svc
  2. import (
  3. "dag-jupyter/internal/config"
  4. )
  5. type ServiceContext struct {
  6. Config config.Config
  7. }
  8. func NewServiceContext(c config.Config) *ServiceContext {
  9. return &ServiceContext{
  10. Config: c,
  11. }
  12. }