Skip to content

Commit

Permalink
fix: fix package name
Browse files Browse the repository at this point in the history
  • Loading branch information
brpaz committed Sep 29, 2019
1 parent 8bbebc7 commit 79a101d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package main
package echozap

import (
"time"

"github.com/labstack/echo/v4"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"time"
)

// ZapLogger is a middleware and zap to provide an "access log" like logging for each request.
Expand Down
9 changes: 5 additions & 4 deletions logger_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package main
package echozap

import (
"net/http"
"net/http/httptest"
"testing"

"github.com/labstack/echo/v4"
"github.com/stretchr/testify/assert"
"go.uber.org/zap"
"go.uber.org/zap/zaptest/observer"
"net/http"
"net/http/httptest"
"testing"
)

func TestZapLogger(t *testing.T) {
Expand Down

0 comments on commit 79a101d

Please sign in to comment.