Skip to content

Commit

Permalink
make processor external
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed May 4, 2023
1 parent c59aa5a commit 10ef6d7
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/slackdump/internal/dump/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/rusq/slackdump/v2/cmd/slackdump/internal/golang/base"
"github.com/rusq/slackdump/v2/downloader"
"github.com/rusq/slackdump/v2/internal/chunk"
"github.com/rusq/slackdump/v2/internal/chunk/processor/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/transform"
"github.com/rusq/slackdump/v2/internal/chunk/transform/fileproc"
"github.com/rusq/slackdump/v2/internal/nametmpl"
Expand Down
4 changes: 2 additions & 2 deletions internal/chunk/control/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/rusq/slackdump/v2"
"github.com/rusq/slackdump/v2/internal/chunk"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/internal/chunk/processor/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/dirproc"
"github.com/rusq/slackdump/v2/internal/structures"
"github.com/rusq/slackdump/v2/logger"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/chunk/control/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

"github.com/rusq/slackdump/v2"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/internal/chunk/processor/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/dirproc"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/chunk/control/workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

"github.com/rusq/slackdump/v2"
"github.com/rusq/slackdump/v2/internal/chunk"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/internal/chunk/processor/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/dirproc"
"github.com/rusq/slackdump/v2/internal/chunk/transform"
"github.com/rusq/slackdump/v2/logger"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"sync"

"github.com/rusq/slackdump/v2/internal/chunk"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/logger"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

"github.com/rusq/slackdump/v2/internal/chunk"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/chunk/transform/fileproc/sp_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"

"github.com/rusq/slackdump/v2/export"
"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/internal/chunk/transform"
"github.com/rusq/slackdump/v2/processor"
"github.com/slack-go/slack"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/mocks/mock_processor/mock_processor.go

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

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

// Conversations is the interface for conversation fetching with files.
//
//go:generate mockgen -destination ../../mocks/mock_processor/mock_processor.go github.com/rusq/slackdump/v2/internal/chunk/processor Conversations,Users,Channels
//go:generate mockgen -destination ../../mocks/mock_processor/mock_processor.go github.com/rusq/slackdump/v2/processor Conversations,Users,Channels
type Conversations interface {
Messenger
Filer
Expand Down
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"github.com/slack-go/slack"
"golang.org/x/time/rate"

"github.com/rusq/slackdump/v2/internal/chunk/processor"
"github.com/rusq/slackdump/v2/internal/network"
"github.com/rusq/slackdump/v2/internal/structures"
"github.com/rusq/slackdump/v2/logger"
"github.com/rusq/slackdump/v2/processor"
)

const (
Expand Down

0 comments on commit 10ef6d7

Please sign in to comment.