Skip to content

Commit

Permalink
reame moduleIn.make to maker
Browse files Browse the repository at this point in the history
  • Loading branch information
GGXXLL authored Apr 27, 2021
1 parent e9dd90b commit 48a834b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otgorm/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Module struct {
type moduleIn struct {
di.In

Make Maker
Maker Maker
Env contract.Env
Logger log.Logger
Container contract.Container
Expand All @@ -55,7 +55,7 @@ func New(in moduleIn) Module {
var duration time.Duration = defaultInterval
in.Conf.Unmarshal("gormMetrics.interval", &duration)
return Module{
maker: in.Make,
maker: in.Maker,
env: in.Env,
logger: in.Logger,
container: in.Container,
Expand Down

0 comments on commit 48a834b

Please sign in to comment.