template-monorepo/internal/model/member/domain/repository/uid.go

9 lines
217 B
Go
Raw Normal View History

2026-05-20 23:51:22 +00:00
package repository
import "context"
// UIDGenerator allocates readable UIDs in the form {UIDPrefix}-{Sequence}.
type UIDGenerator interface {
Next(ctx context.Context, tenantID, uidPrefix string) (string, error)
}