13 lines
224 B
Go
13 lines
224 B
Go
package beehive
|
|
|
|
type Result struct {
|
|
Type TaskType
|
|
Parameters map[string]string
|
|
}
|
|
|
|
func NewResult(t TaskType, parameters map[string]string) *Result {
|
|
return &Result{
|
|
Type: t,
|
|
Parameters: parameters,
|
|
}
|
|
}
|