Skip to content

Commit

Permalink
Moved sink to pkg/
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopmsivadas authored and aybabtme committed Oct 17, 2023
1 parent 30e6c17 commit eceedbf
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/humanlog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/humanlogio/humanlog"
"github.com/humanlogio/humanlog/internal/pkg/config"
"github.com/humanlogio/humanlog/internal/pkg/state"
"github.com/humanlogio/humanlog/sink/stdiosink"
"github.com/humanlogio/humanlog/pkg/sink/stdiosink"
"github.com/mattn/go-colorable"
"github.com/urfave/cli"
)
Expand Down
2 changes: 1 addition & 1 deletion e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

"github.com/humanlogio/humanlog/internal/pkg/config"
"github.com/humanlogio/humanlog/sink/stdiosink"
"github.com/humanlogio/humanlog/pkg/sink/stdiosink"
)

func TestHarness(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion sink/bufsink/sized.go → pkg/sink/bufsink/sized.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/humanlogio/humanlog/internal/pkg/model"
"github.com/humanlogio/humanlog/sink"
"github.com/humanlogio/humanlog/pkg/sink"
)

type SizedBuffer struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sink/stdiosink/stdio.go → pkg/sink/stdiosink/stdio.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/fatih/color"
"github.com/humanlogio/humanlog/internal/pkg/config"
"github.com/humanlogio/humanlog/internal/pkg/model"
"github.com/humanlogio/humanlog/sink"
"github.com/humanlogio/humanlog/pkg/sink"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/humanlogio/humanlog/internal/pkg/model"
"github.com/humanlogio/humanlog/sink"
"github.com/humanlogio/humanlog/pkg/sink"
)

// Scan reads JSON-structured lines from src and prettify them onto dst. If
Expand Down
2 changes: 1 addition & 1 deletion scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/humanlogio/humanlog/internal/pkg/model"
"github.com/humanlogio/humanlog/sink/bufsink"
"github.com/humanlogio/humanlog/pkg/sink/bufsink"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit eceedbf

Please sign in to comment.