Skip to content

Commit

Permalink
Moved sink outside internal to make it public
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopmsivadas authored and aybabtme committed Oct 17, 2023
1 parent deb0543 commit 30e6c17
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 @@ -15,8 +15,8 @@ import (
types "github.com/humanlogio/api/go/types/v1"
"github.com/humanlogio/humanlog"
"github.com/humanlogio/humanlog/internal/pkg/config"
"github.com/humanlogio/humanlog/internal/pkg/sink/stdiosink"
"github.com/humanlogio/humanlog/internal/pkg/state"
"github.com/humanlogio/humanlog/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/internal/pkg/sink/stdiosink"
"github.com/humanlogio/humanlog/sink/stdiosink"
)

func TestHarness(t *testing.T) {
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/internal/pkg/sink"
"github.com/humanlogio/humanlog/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/internal/pkg/sink/bufsink"
"github.com/humanlogio/humanlog/sink/bufsink"
"github.com/stretchr/testify/require"
)

Expand Down
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/internal/pkg/sink"
"github.com/humanlogio/humanlog/sink"
)

type SizedBuffer struct {
Expand Down
File renamed without changes.
File renamed without changes.
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/internal/pkg/sink"
"github.com/humanlogio/humanlog/sink"
)

var (
Expand Down

0 comments on commit 30e6c17

Please sign in to comment.