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