app-cloudep-comment-server/internal/svc/service_context.go

14 lines
243 B
Go
Raw Normal View History

2025-01-15 05:17:30 +00:00
package svc
2025-01-15 05:46:36 +00:00
import "code.30cm.net/digimon/app-cloudep-comment-server/internal/config"
2025-01-15 05:17:30 +00:00
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
}
}