Skip to content

Commit

Permalink
Use go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
bazuker committed Jun 11, 2023
1 parent b77d072 commit 58614dd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# DeliveryQueue
[![Go Report Card](https://goreportcard.com/badge/github.com/kisulken/deliveryQueue)](https://goreportcard.com/report/github.com/kisulken/deliveryQueue)
[![Go Report Card](https://goreportcard.com/badge/github.com/bazuker/deliveryQueue)](https://goreportcard.com/report/github.com/bazuker/deliveryQueue)

DeliveryQueue is a queue with embedded rate limiter that guarantees that delivery function will not be triggered more than specified number of times per second.

```Bash
go get -u github.com/kisulken/deliveryQueue
go get -u github.com/bazuker/deliveryQueue
```

## Example
Expand Down
Empty file modified main.go
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion queue/queue.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package queue

import (
"github.com/kisulken/deliveryQueue/queue/buffer"
"deliveryQueue/queue/buffer"
"github.com/pkg/errors"
"sync/atomic"
"time"
Expand Down
Empty file modified queue/queue_test.go
100644 → 100755
Empty file.

0 comments on commit 58614dd

Please sign in to comment.