go-runner
- Extract a list that needs to be run every minute and run a function.
- you can initialize and re-enter a Runner Object at any time.
- Runner object conforms to
runner.JobInterface. - The chain takes the form Runner[].
Quick Start
Download and install
$ go get -v github.com/Sotaneum/go-runnerBuild and run
$ go build runner.go
$ ./runnerTesting
go test-
When the test ends, a
timeout panicoccurs.panic: test timed out after 10m0s -
Otherwise follow the
PASS > timerule.
Warning
- The latest version does not guarantee backward compatibility.
-
runner.ResultChmust be empty to get the most recent log.