Browse Source

Add step struct json tags

feature/add-executable-steps
Roman Zipp 3 years ago
parent
commit
98df5d0456
  1. 4
      pipelines/step.go

4
pipelines/step.go

@ -10,8 +10,8 @@ const (
) )
type Step struct { type Step struct {
Name string `faker:"name"`
Type StepType `faker:"-"`
Name string `json:"name" faker:"name"`
Type StepType `json:"type" faker:"-"`
} }
func (s Step) Translate() (IExecutableStep, error) { func (s Step) Translate() (IExecutableStep, error) {

Loading…
Cancel
Save