This commit is contained in:
simonkellet
2022-09-16 13:04:30 +01:00
parent cdfe8e6062
commit f85131b80a
5 changed files with 44 additions and 17 deletions
+11
View File
@@ -0,0 +1,11 @@
package main
import "fmt"
// Run will take the config file and for each task, run a go routine
func TaskRun(c Config) {
for i, v := range c.Tasks {
fmt.Printf("%d, %s", i, v)
}
}