refactor: clean code

This commit is contained in:
Fu Diwei
2025-01-17 18:01:47 +08:00
parent dab6ad917c
commit 0869eaafdd
12 changed files with 50 additions and 57 deletions

View File

@@ -10,7 +10,7 @@ import (
type notifyNode struct {
node *domain.WorkflowNode
settingsRepo settingRepository
settingsRepo settingsRepository
*nodeLogger
}

View File

@@ -70,6 +70,6 @@ type workflowOutputRepository interface {
Save(ctx context.Context, output *domain.WorkflowOutput, certificate *domain.Certificate, cb func(id string) error) error
}
type settingRepository interface {
type settingsRepository interface {
GetByName(ctx context.Context, name string) (*domain.Settings, error)
}