Files
kra-oa/internal/service/system.go
T
2026-08-22 12:13:16 +08:00

20 lines
466 B
Go

package service
import (
"context"
"kra/internal/biz/system"
)
type SystemConfigService struct {
uc *system.SystemConfigUsecase
settings system.RuntimeSettings
}
func NewSystemConfigService(uc *system.SystemConfigUsecase, settings system.RuntimeSettings) *SystemConfigService {
return &SystemConfigService{uc: uc, settings: settings}
}
func (s *SystemConfigService) IsInitialized(ctx context.Context) (bool, error) {
return s.uc.IsInitialized(ctx)
}