albrow / jobs

A persistent and flexible background jobs library for go.
MIT License
499 stars 47 forks source link

Examples? #32

Closed cdrage closed 4 years ago

cdrage commented 8 years ago

Is it possible for an example to be created (full .go files, etc?) I'm pretty new to Go and I love this implementation (I come from using Resque). But finding it difficult to setup everything.

Tthe only example I found that could possibly help me learn was this: https://github.com/albrow/jobs/issues/28

So I've got it up and running with the above issue and I've split off workers / pools (I want to have N amount of workers on distributed machines, adding new jobs via back-end API).

However, it's a bit messy now. Is there a straight-forward "hello world" example the encompasses all current features of jobs other than https://github.com/albrow/jobs/issues/28 ?

Sorry about all this! Pretty new to Go >.>