Files
budget-backend/vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go
kratisto f8df24c29d
Some checks failed
golangci-lint / lint (push) Failing after 1m30s
Test / test (push) Failing after 2m17s
chore: migrate to gitea
2026-01-27 01:45:58 +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)
}