Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman-coder authored and sulaiman-coder committed Nov 1, 2023
1 parent 9e43cd3 commit 0f97bb2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# ratelimit

[![License](https://img.shields.io/github/license/khulnasoft-labs/ratelimit)](LICENSE.md)
![Go version](https://img.shields.io/github/go-mod/go-version/khulnasoft-labs/ratelimit?filename=go.mod)
[![Release](https://img.shields.io/github/release/khulnasoft-labs/ratelimit)](https://github.com/khulnasoft-labs/ratelimit/releases/)
[![Checks](https://github.com/khulnasoft-labs/ratelimit/actions/workflows/build-test.yml/badge.svg)](https://github.com/khulnasoft-labs/ratelimit/actions/workflows/build-test.yml)
[![GoDoc](https://pkg.go.dev/badge/khulnasoft-labs/ratelimit)](https://pkg.go.dev/github.com/khulnasoft-labs/ratelimit)
[![License](https://img.shields.io/github/license/khulnasoft-lab/ratelimit)](LICENSE.md)
![Go version](https://img.shields.io/github/go-mod/go-version/khulnasoft-lab/ratelimit?filename=go.mod)
[![Release](https://img.shields.io/github/release/khulnasoft-lab/ratelimit)](https://github.com/khulnasoft-lab/ratelimit/releases/)
[![Checks](https://github.com/khulnasoft-lab/ratelimit/actions/workflows/build-test.yml/badge.svg)](https://github.com/khulnasoft-lab/ratelimit/actions/workflows/build-test.yml)
[![GoDoc](https://pkg.go.dev/badge/khulnasoft-lab/ratelimit)](https://pkg.go.dev/github.com/khulnasoft-lab/ratelimit)

A Golang rate limit implementation which allows burst of request during the defined duration.

Expand All @@ -27,7 +27,7 @@ import (
"fmt"
"time"

"github.com/khulnasoft-labs/ratelimit"
"github.com/khulnasoft-lab/ratelimit"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/khulnasoft-labs/ratelimit"
"github.com/khulnasoft-lab/ratelimit"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/khulnasoft-labs/ratelimit
module github.com/khulnasoft-lab/ratelimit

go 1.19

require (
github.com/khulnasoft-labs/utils v0.0.45
github.com/khulnasoft-lab/utils v0.0.47
github.com/stretchr/testify v1.8.4
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/khulnasoft-labs/utils v0.0.45 h1:27tqzQqwMWN4mVw18oexYzejfNW8/ApENWHFwawCNmY=
github.com/khulnasoft-labs/utils v0.0.45/go.mod h1:J7QDXALnOeITXeNZxy5sLwgONEYnuP7873DuLXtSVxo=
github.com/khulnasoft-lab/utils v0.0.47 h1:ILZWJ5mS696XnQC4vuizNnYZAf9sd9ZY4xuST8y8dtY=
github.com/khulnasoft-lab/utils v0.0.47/go.mod h1:4nuOcyrid0Br7/nwZvMQoha0tCiH3LAmWsD8a+2ufDs=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
Expand Down
2 changes: 1 addition & 1 deletion keyratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"time"

errorutil "github.com/khulnasoft-labs/utils/errors"
errorutil "github.com/khulnasoft-lab/utils/errors"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion keyratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/khulnasoft-labs/ratelimit"
"github.com/khulnasoft-lab/ratelimit"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit 0f97bb2

Please sign in to comment.