diff --git a/blocker_test.go b/blocker_test.go index 805efd6..5372809 100644 --- a/blocker_test.go +++ b/blocker_test.go @@ -5,7 +5,7 @@ import ( "time" "aahframework.org/test.v0/assert" - "github.com/bouk/monkey" + "bou.ke/monkey" ) func Test_it_block_as_expected(t *testing.T) { diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..08934fa --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/ghetzel/ratelimit + +go 1.13 + +require ( + aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d + bou.ke/monkey v1.0.2 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d96c9e7 --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d h1:xrk269ZdyicxrmDDwLkjpWxzBeApYPKmGlAXtXylB0k= +aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d/go.mod h1:Dc0WOMD7SnuzGgAI29bLYayM5XoDr+Iha/jfObqPwhA= +bou.ke/monkey v1.0.2 h1:kWcnsrCNUatbxncxR/ThdYqbytgOIArtYWqcQLQzKLI= +bou.ke/monkey v1.0.2/go.mod h1:OqickVX3tNx6t33n1xvtTtu85YN5s6cKwVug+oHMaIA= diff --git a/rate_limit_test.go b/rate_limit_test.go index 871930d..dae5228 100644 --- a/rate_limit_test.go +++ b/rate_limit_test.go @@ -6,7 +6,7 @@ import ( "time" "aahframework.org/test.v0/assert" - "github.com/bouk/monkey" + "bou.ke/monkey" ) func Test_IT_PANIC_WHEN_INVALID_NEW_RATE_PATTERN(t *testing.T) { diff --git a/spammer_test.go b/spammer_test.go index 7fd4b74..662c5ca 100644 --- a/spammer_test.go +++ b/spammer_test.go @@ -5,7 +5,7 @@ import ( "time" "aahframework.org/test.v0/assert" - "github.com/bouk/monkey" + "bou.ke/monkey" ) func Test_it_count_spam_as_expected(t *testing.T) {