Skip to content

Commit

Permalink
Fix: #24 move mock modules under internal (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
miyamo2 authored Feb 27, 2024
1 parent c56b87a commit b1f175b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mock/slog_handler.go → internal/mock/slog_handler.go

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

2 changes: 1 addition & 1 deletion transactional_handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate mockgen -destination mock/slog_handler.go log/slog Handler
//go:generate mockgen -destination internal/mock/slog_handler.go log/slog Handler
package altnrslog

import (
Expand Down
2 changes: 1 addition & 1 deletion transactional_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"errors"
"github.com/google/go-cmp/cmp"
mslog "github.com/miyamo2/altnrslog/mock"
mslog "github.com/miyamo2/altnrslog/internal/mock"
"github.com/newrelic/go-agent/v3/integrations/logcontext"
"github.com/newrelic/go-agent/v3/newrelic"
"go.uber.org/mock/gomock"
Expand Down

0 comments on commit b1f175b

Please sign in to comment.