refactor: use an error group to simplify parallel retrieval of scheduler

This makes the code a bit simpler to read and more idiomatic
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-01 21:13:39 -05:00
parent a6c22a292d
commit aa0437bb23
13 changed files with 34 additions and 13 deletions

View File

@@ -6,4 +6,5 @@ require (
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 // indirect
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27
github.com/ryanuber/columnize v1.1.2-0.20190319233515-9e6335e58db3
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
)