Skip to content

Commit

Permalink
Added new swift models. (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
matrangam authored Jul 18, 2022
1 parent 2648972 commit e5ae0a0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,17 @@ type GoStepToolkitModel struct {
PackageName string `json:"package_name" yaml:"package_name"`
}

// SwiftStepToolkitModel ...
type SwiftStepToolkitModel struct {
BinaryLocation string `json:"binary_location,omitempty" yaml:"binary_location,omitempty"`
ExecutableName string `json:"executable_name,omitempty" yaml:"executable_name,omitempty"`
}

// StepToolkitModel ...
type StepToolkitModel struct {
Bash *BashStepToolkitModel `json:"bash,omitempty" yaml:"bash,omitempty"`
Go *GoStepToolkitModel `json:"go,omitempty" yaml:"go,omitempty"`
Bash *BashStepToolkitModel `json:"bash,omitempty" yaml:"bash,omitempty"`
Go *GoStepToolkitModel `json:"go,omitempty" yaml:"go,omitempty"`
Swift *SwiftStepToolkitModel `json:"swift,omitempty" yaml:"swift,omitempty"`
}

// StepModel ...
Expand Down

0 comments on commit e5ae0a0

Please sign in to comment.