Skip to content

Commit

Permalink
make fmtfix
Browse files Browse the repository at this point in the history
  • Loading branch information
abraithwaite committed Feb 24, 2024
1 parent de20a9d commit eda733f
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions cmd/reveald/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
"log/slog"

"github.com/runreveal/kawa"
"github.com/runreveal/kawa/x/mqtt"
"github.com/runreveal/kawa/x/s3"
"github.com/runreveal/lib/loader"
mqttDstkawad "github.com/runreveal/reveald/internal/destinations/mqtt"
"github.com/runreveal/reveald/internal/destinations/printer"
"github.com/runreveal/reveald/internal/destinations/runreveal"
Expand All @@ -16,9 +19,6 @@ import (
"github.com/runreveal/reveald/internal/sources/scanner"
"github.com/runreveal/reveald/internal/sources/syslog"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/mqtt"
"github.com/runreveal/kawa/x/s3"
"github.com/runreveal/lib/loader"
// We could register and configure these in a separate package
// using the init() function.
// That would make it easy to "dynamically" enable and disable them at
Expand Down
4 changes: 2 additions & 2 deletions cmd/reveald/config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"log/slog"

"github.com/runreveal/kawa"
windowskawad "github.com/runreveal/reveald/internal/sources/windows"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/windows"
"github.com/runreveal/lib/loader"
windowskawad "github.com/runreveal/reveald/internal/sources/windows"
"github.com/runreveal/reveald/internal/types"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion internal/destinations/mqtt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/mqtt"
"github.com/runreveal/reveald/internal/types"
)

type MQTT struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/destinations/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/printer"
"github.com/runreveal/reveald/internal/types"
)

type Printer struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/destinations/runreveal/runreveal.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

"github.com/carlmjohnson/requests"
"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
batch "github.com/runreveal/kawa/x/batcher"
"github.com/runreveal/reveald/internal/types"
)

type Option func(*RunReveal)
Expand Down
2 changes: 1 addition & 1 deletion internal/destinations/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/s3"
"github.com/runreveal/reveald/internal/types"
)

type S3 struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"log/slog"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/multi"
"github.com/runreveal/lib/await"
"github.com/runreveal/reveald/internal/types"
)

type Option func(*Queue)
Expand Down
2 changes: 1 addition & 1 deletion internal/sources/mqtt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"time"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/mqtt"
"github.com/runreveal/reveald/internal/types"
)

type MQTT struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/sources/scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/scanner"
"github.com/runreveal/reveald/internal/types"
)

type Scanner struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/sources/windows/eventlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"encoding/json"

"github.com/runreveal/kawa"
"github.com/runreveal/reveald/internal/types"
"github.com/runreveal/kawa/x/windows"
"github.com/runreveal/reveald/internal/types"
)

type EventLog struct {
Expand Down

0 comments on commit eda733f

Please sign in to comment.