diff --git a/README.md b/README.md index c925552..9e464ac 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ import ( "net/http" "os" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" "github.com/gol4ng/logger-http/tripperware" "github.com/gol4ng/logger/formatter" @@ -79,7 +79,7 @@ package main "net/http" "os" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" "github.com/gol4ng/logger-http/middleware" "github.com/gol4ng/logger/formatter" diff --git a/go.mod b/go.mod index 7760587..d4c2fdb 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/gol4ng/logger-http go 1.13 require ( - github.com/gol4ng/httpware/v3 v3.0.0 + github.com/gol4ng/httpware/v4 v4.0.0 github.com/gol4ng/logger v0.5.3 github.com/stretchr/testify v1.4.0 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a // indirect diff --git a/go.sum b/go.sum index 7c3d19f..afbe642 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2 github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gol4ng/httpware/v3 v3.0.0 h1:kubsxU1GAQaipgnaYZqvB9wtjvXDcP4evbEhSANd7fI= -github.com/gol4ng/httpware/v3 v3.0.0/go.mod h1:qGWpQuhPcx3ej/fADomrfv96eVyIQyB6NfVaX4Gi5fs= +github.com/gol4ng/httpware/v4 v4.0.0 h1:0jkiN17Rx61mAE2i9pakcIwTUeRFz6rmpiNDodKz42M= +github.com/gol4ng/httpware/v4 v4.0.0/go.mod h1:qwrR1YJcLUl6YCpKpy+/an+MjwEL/OtqBYFbbMVfIF8= github.com/gol4ng/logger v0.5.3 h1:gX9fX5Ke1c9ldyIkbHBVux3EJ73FsPsmzWnXT8LEsTo= github.com/gol4ng/logger v0.5.3/go.mod h1:RU2axpKm//DmUGqQNIhXmUBHKeLdtWarxu8bSV+5b4Y= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= diff --git a/middleware/correlation_id.go b/middleware/correlation_id.go index 6b2d5bf..1bf1590 100644 --- a/middleware/correlation_id.go +++ b/middleware/correlation_id.go @@ -4,9 +4,9 @@ import ( "fmt" "net/http" - "github.com/gol4ng/httpware/v3" - "github.com/gol4ng/httpware/v3/correlation_id" - http_middleware "github.com/gol4ng/httpware/v3/middleware" + "github.com/gol4ng/httpware/v4" + "github.com/gol4ng/httpware/v4/correlation_id" + http_middleware "github.com/gol4ng/httpware/v4/middleware" "github.com/gol4ng/logger" "github.com/gol4ng/logger/middleware" diff --git a/middleware/correlation_id_test.go b/middleware/correlation_id_test.go index 018772c..e995894 100644 --- a/middleware/correlation_id_test.go +++ b/middleware/correlation_id_test.go @@ -11,8 +11,8 @@ import ( "sync" "testing" - "github.com/gol4ng/httpware/v3" - "github.com/gol4ng/httpware/v3/correlation_id" + "github.com/gol4ng/httpware/v4" + "github.com/gol4ng/httpware/v4/correlation_id" "github.com/gol4ng/logger" "github.com/gol4ng/logger/formatter" "github.com/gol4ng/logger/handler" diff --git a/middleware/inject_logger.go b/middleware/inject_logger.go index e9baf30..964fbf4 100644 --- a/middleware/inject_logger.go +++ b/middleware/inject_logger.go @@ -3,7 +3,7 @@ package middleware import ( "net/http" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" ) diff --git a/middleware/inject_logger_test.go b/middleware/inject_logger_test.go index 6ee7782..d66356e 100644 --- a/middleware/inject_logger_test.go +++ b/middleware/inject_logger_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" "github.com/stretchr/testify/assert" diff --git a/middleware/logger.go b/middleware/logger.go index 2434197..c61695b 100644 --- a/middleware/logger.go +++ b/middleware/logger.go @@ -5,8 +5,8 @@ import ( "net/http" "time" - "github.com/gol4ng/httpware/v3" - http_middleware "github.com/gol4ng/httpware/v3/middleware" + "github.com/gol4ng/httpware/v4" + http_middleware "github.com/gol4ng/httpware/v4/middleware" "github.com/gol4ng/logger" "github.com/gol4ng/logger-http" diff --git a/tripperware/correlation_id.go b/tripperware/correlation_id.go index 9ebbd6c..fabe87c 100644 --- a/tripperware/correlation_id.go +++ b/tripperware/correlation_id.go @@ -4,9 +4,9 @@ import ( "fmt" "net/http" - "github.com/gol4ng/httpware/v3" - "github.com/gol4ng/httpware/v3/correlation_id" - http_tripperware "github.com/gol4ng/httpware/v3/tripperware" + "github.com/gol4ng/httpware/v4" + "github.com/gol4ng/httpware/v4/correlation_id" + http_tripperware "github.com/gol4ng/httpware/v4/tripperware" "github.com/gol4ng/logger" "github.com/gol4ng/logger/middleware" diff --git a/tripperware/correlation_id_test.go b/tripperware/correlation_id_test.go index 12932e3..2dc4bed 100644 --- a/tripperware/correlation_id_test.go +++ b/tripperware/correlation_id_test.go @@ -10,8 +10,8 @@ import ( "sync" "testing" - "github.com/gol4ng/httpware/v3" - "github.com/gol4ng/httpware/v3/correlation_id" + "github.com/gol4ng/httpware/v4" + "github.com/gol4ng/httpware/v4/correlation_id" "github.com/gol4ng/logger" testing_logger "github.com/gol4ng/logger/testing" "github.com/stretchr/testify/assert" diff --git a/tripperware/inject_logger.go b/tripperware/inject_logger.go index 5d6455f..ca662f9 100644 --- a/tripperware/inject_logger.go +++ b/tripperware/inject_logger.go @@ -3,7 +3,7 @@ package tripperware import ( "net/http" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" ) diff --git a/tripperware/inject_logger_test.go b/tripperware/inject_logger_test.go index 2d2e037..e4ebae3 100644 --- a/tripperware/inject_logger_test.go +++ b/tripperware/inject_logger_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" diff --git a/tripperware/logger.go b/tripperware/logger.go index 67f8b20..80c6ed3 100644 --- a/tripperware/logger.go +++ b/tripperware/logger.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" "github.com/gol4ng/logger-http" diff --git a/tripperware/logger_test.go b/tripperware/logger_test.go index e8ec81e..3e48f7e 100644 --- a/tripperware/logger_test.go +++ b/tripperware/logger_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/gol4ng/httpware/v3" + "github.com/gol4ng/httpware/v4" "github.com/gol4ng/logger" testing_logger "github.com/gol4ng/logger/testing" "github.com/stretchr/testify/assert"