Skip to content

Commit

Permalink
update httpware v4 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
instabledesign authored Feb 12, 2021
1 parent 870cf9f commit e70d8b0
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
6 changes: 3 additions & 3 deletions middleware/correlation_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions middleware/correlation_id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion middleware/inject_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package middleware
import (
"net/http"

"github.com/gol4ng/httpware/v3"
"github.com/gol4ng/httpware/v4"
"github.com/gol4ng/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion middleware/inject_logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions middleware/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tripperware/correlation_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions tripperware/correlation_id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tripperware/inject_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tripperware
import (
"net/http"

"github.com/gol4ng/httpware/v3"
"github.com/gol4ng/httpware/v4"
"github.com/gol4ng/logger"
)

Expand Down
2 changes: 1 addition & 1 deletion tripperware/inject_logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tripperware/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tripperware/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e70d8b0

Please sign in to comment.