Files
budget-backend/vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go
kratisto 1a27ed5274
Some checks failed
golangci-lint / lint (push) Failing after 21s
Test / test (push) Failing after 2m17s
chore: migrate to gitea
2026-01-27 01:40:31 +01:00

9 lines
187 B
Go

// Package queue provides a generic queue implementation.
package queue
// Queue represents a generic queue.
type Queue[T any] interface {
Add(func() (T, error))
Wait() ([]T, error)
}