Skip to content

Commit

Permalink
Merge #8
Browse files Browse the repository at this point in the history
8: Implement go-common-models r=Jaskaranbir a=Jaskaranbir



Co-authored-by: Jaskaranbir <jaskaranbir.dhillon@gmail.com>
  • Loading branch information
ninja-bruh and Jaskaranbir committed Nov 19, 2018
2 parents 2968079 + 2677c79 commit 7d1b051
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
28 changes: 14 additions & 14 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions main/log_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/Shopify/sarama"
"github.com/TerrexTech/go-eventstore-models/model"
"github.com/TerrexTech/go-common-models/model"
"github.com/pkg/errors"
)

Expand Down Expand Up @@ -40,12 +40,11 @@ func (m *logHandler) ConsumeClaim(
l.ServiceName = "--> " + strings.ToUpper(l.ServiceName)

log.Printf(
"%s: %d: %s: %s: %s: %s",
"%s: %d: %s: %s: %s",
l.Level,
l.ErrorCode,
l.ServiceName,
l.EventAction,
l.ServiceAction,
l.Action,
l.Description,
)
}
Expand Down

0 comments on commit 7d1b051

Please sign in to comment.