acaloiaro / neoq

Queue-agnostic background job library for Go, with a pleasant API and powerful features.
MIT License
270 stars 4 forks source link

Factor out usage of the null package: github.com/guregu/null #14

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/acaloiaro/neoq/blob/a024be6a3953a1512a1accee11bd296e6869c338/neoq.go#L149


// Jobs are what are placed on queues for processing.
//
// The Fingerprint field can be supplied by the user to impact job deduplication.
// TODO Factor out usage of the null package: github.com/guregu/null
type Job struct {
    ID          int64          `db:"id"`
    Fingerprint string         `db:"fingerprint"` // A md5 sum of the job's queue + payload, affects job deduplication
github-actions[bot] commented 1 year ago

Closed in a9f2f6b4f46c1df8ad2be60de85c2f84a1753aad