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

14 lines
221 B
Go
Raw Normal View History

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