Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
c936b56f45
  1. 2
      go.mod
  2. 4
      go.sum
  3. 4
      internal/demo/jobs.go

2
go.mod

@ -4,7 +4,7 @@ go 1.17
require (
forge.chapril.org/dune/jw v0.0.0-20211114170701-4b66b0d705ea
forge.chapril.org/dune/sdk v0.0.0-20211121163933-7390270695da
forge.chapril.org/dune/sdk v0.0.0-20211121170502-2a68d08470e5
forge.chapril.org/losyme/application v0.0.0-20211029102910-b7db6effc015
forge.chapril.org/losyme/cmdline v0.0.0-20211029192907-e6f74788c44f
forge.chapril.org/losyme/config v0.0.0-20211025142334-51a8a7a73a4f

4
go.sum

@ -1,7 +1,7 @@
forge.chapril.org/dune/jw v0.0.0-20211114170701-4b66b0d705ea h1:EC1XXrDQ6E7Oed04iZFKsk2dbxJORBH2G+UxBFz42j4=
forge.chapril.org/dune/jw v0.0.0-20211114170701-4b66b0d705ea/go.mod h1:7CyK2ZvzHntSlOZ7kWcqVhkmUzlE0QI3uKW9kPbNbOY=
forge.chapril.org/dune/sdk v0.0.0-20211121163933-7390270695da h1:KXP+/JipiPr0pAqdCqzR+l90YAd4KkKQchqs5hbYP9U=
forge.chapril.org/dune/sdk v0.0.0-20211121163933-7390270695da/go.mod h1:MoElZHMrmoc+AH8OXwduGLF+1ls73nS/+3JGx7K8ta4=
forge.chapril.org/dune/sdk v0.0.0-20211121170502-2a68d08470e5 h1:SlZc28AUnQeKn0cNasVO6RoWFdsGp1x2kHJsjY0Pn7Y=
forge.chapril.org/dune/sdk v0.0.0-20211121170502-2a68d08470e5/go.mod h1:MoElZHMrmoc+AH8OXwduGLF+1ls73nS/+3JGx7K8ta4=
forge.chapril.org/losyme/application v0.0.0-20211029102910-b7db6effc015 h1:mZQ2kC2ucXI0lNRVyIOVEz3zu0ChOQ9wTPG0W69fI1Y=
forge.chapril.org/losyme/application v0.0.0-20211029102910-b7db6effc015/go.mod h1:olQo5n5tnBRHq0wcc0lNbymvsXdTuYaCjNfd2d/+01w=
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518 h1:B7wu0DWUwpt0Mw/VTuWQZikhV/VD6kc2iJWbIY+jgEM=

4
internal/demo/jw.go → internal/demo/jobs.go

@ -17,7 +17,7 @@ func (d *Demo) succeeded(_ *runner.Job) {
}
func (d *Demo) failed(job *runner.Job) {
job.Failed().SetError("it's only a test")
job.Failed().SetError("it's only a test") //////////////////////////////////////////////////////////////////////////
}
func (d *Demo) panic(_ *runner.Job) {
@ -36,7 +36,7 @@ func (d *Demo) pending(job *runner.Job) {
job.SetPrivate("count", count+1)
} else {
job.Failed().SetError("unexpected error")
job.Failed().SetError("unexpected error") //////////////////////////////////////////////////////////////////
}
} else {
job.SetPrivate("count", 0)
Loading…
Cancel
Save