Skip to content

Commit

Permalink
Move log to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
dnephin committed Aug 6, 2022
1 parent 2c87604 commit 9abe001
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"

"gotest.tools/gotestsum/internal/junitxml"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
"gotest.tools/gotestsum/testjson"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/dnephin/pflag"
"github.com/fatih/color"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
"gotest.tools/gotestsum/testjson"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/tool/slowest/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"

"golang.org/x/tools/go/packages"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
"gotest.tools/gotestsum/testjson"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/tool/slowest/slowest.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/dnephin/pflag"
"gotest.tools/gotestsum/internal/aggregate"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
"gotest.tools/gotestsum/testjson"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/filewatcher/term_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os"

"golang.org/x/sys/unix"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
)

type terminal struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/filewatcher/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

"github.com/fsnotify/fsnotify"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
)

const maxDepth = 7
Expand Down
2 changes: 1 addition & 1 deletion internal/junitxml/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
"gotest.tools/gotestsum/testjson"
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"gotest.tools/gotestsum/cmd"
"gotest.tools/gotestsum/cmd/tool"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion testjson/dotformat.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"golang.org/x/term"
"gotest.tools/gotestsum/internal/dotwriter"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
)

func dotsFormatV1(event TestEvent, exec *Execution) string {
Expand Down
2 changes: 1 addition & 1 deletion testjson/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

"golang.org/x/sync/errgroup"
"gotest.tools/gotestsum/log"
"gotest.tools/gotestsum/internal/log"
)

// Action of TestEvent
Expand Down

0 comments on commit 9abe001

Please sign in to comment.