1
0
mirror of https://github.com/go-task/task.git synced 2025-07-03 00:57:02 +02:00

refactor: join task and vars parameters in a single Call struct

This commit is contained in:
Andrey Nering
2017-07-08 14:34:17 -03:00
parent a1140aa62f
commit 7a7f66dfdc
4 changed files with 58 additions and 52 deletions

View File

@ -66,3 +66,9 @@ func (d *Dep) UnmarshalYAML(unmarshal func(interface{}) error) error {
}
return ErrCantUnmarshalDep
}
// Call is the parameters to a task call
type Call struct {
Task string
Vars Vars
}