Giter Club home page Giter Club logo

queue's People

Contributors

appleboy avatar ci-jie avatar dependabot[bot] avatar ken0911208818 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

queue's Issues

Support task function

Provide the following solution only for the simple queues.

type TaskFunc func(context.Context) error

"go get" (install) on this repository is throwing build error on "!errors.Is(...)" - is it my go version?

Hi,

Doing a "go get" (install) on this repository is throwing build errors on "!errors.Is(...)" - is it my go version?

I've got an older version of Go: go.1.12.1 (win/amd64) - is "errors.Is()" more recent?

I'm relatively new to Go, so please point me in the right direction if I'm being silly...

Thanks.

EDIT: Oh my... I just found out that go1.13 added error.Is() LOL!!!

Any sage advice on a workaround? I'm stuck with 1.12 for now. I'll try to edit the local source in the meantime.

data race since v0.2.0

WARNING: DATA RACE
Read at 0x00c000218c70 by goroutine 1770:
  github.com/golang-queue/queue.(*Ring).Request()
      /home/github-runner/actions-runner/_work/vendor/github.com/golang-queue/queue/ring.go:78 +0xa4
  github.com/golang-queue/queue.(*Queue).start.func1()
      /home/github-runner/actions-runner/_work/vendor/github.com/golang-queue/queue/queue.go:301 +0x77
  github.com/golang-queue/queue.(*routineGroup).Run.func1()
      /home/github-runner/actions-runner/_work/vendor/github.com/golang-queue/queue/thread.go:18 +0x73

previous v0.1.3 didn't

Cron tasks

Nice project - I use nats and it seems this can use golang channels and NATS.

How easy do you think adding repeating times tasks would be ?

there is another NATS Job runner here btw: https://github.com/choria-io/asyncjobs however its not agnostic like queue is.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.