-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package activities | ||
|
||
import ( | ||
"context" | ||
) | ||
|
||
const CombinePremisName = "combine-premis" | ||
|
||
type CombinePremisActivity struct{} | ||
|
||
func NewCombinePremisActivity() *CombinePremisActivity { | ||
return &CombinePremisActivity{} | ||
} | ||
|
||
type CombinePremisParams struct { | ||
SipPath string | ||
} | ||
|
||
type CombinePremisResult struct { | ||
Out string | ||
} | ||
|
||
func (md *CombinePresmiActivity) Execute( | ||
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / tests
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / test
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / test
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / golangci-lint
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / golangci-lint
Check failure on line 23 in internal/activities/combine_premis.go GitHub Actions / golangci-lint
|
||
ctx context.Context, | ||
params *CombinePremisParams, | ||
) (*CombinePremisResult, error) { | ||
res := &CombinePremisResult{} | ||
res.Out = "OK" | ||
return res, nil | ||
} |