mirror of
https://github.com/neilotoole/sq.git
synced 2024-11-23 19:33:22 +03:00
Minor fixes for v0.48.1
This commit is contained in:
parent
96da327be1
commit
20488dbfc8
@ -10,9 +10,6 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/source"
|
||||
"github.com/neilotoole/sq/libsq/source/drivertype"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@ -23,6 +20,8 @@ import (
|
||||
"github.com/neilotoole/sq/libsq/core/schema"
|
||||
"github.com/neilotoole/sq/libsq/core/stringz"
|
||||
"github.com/neilotoole/sq/libsq/core/tablefq"
|
||||
"github.com/neilotoole/sq/libsq/source"
|
||||
"github.com/neilotoole/sq/libsq/source/drivertype"
|
||||
"github.com/neilotoole/sq/testh"
|
||||
"github.com/neilotoole/sq/testh/fixt"
|
||||
"github.com/neilotoole/sq/testh/proj"
|
||||
|
@ -16,7 +16,6 @@ import (
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lga"
|
||||
"github.com/neilotoole/sq/libsq/core/progress"
|
||||
"github.com/neilotoole/sq/libsq/files"
|
||||
"github.com/neilotoole/sq/testh/proj"
|
||||
)
|
||||
|
||||
// newXCmd returns the "x" command, which is the container
|
||||
@ -188,12 +187,6 @@ func execXProgressManyBars(cmd *cobra.Command, _ []string) error {
|
||||
bars = append(bars, pb.NewByteCounter("NewByteCounter.NoSize.OptMem", -1, progress.OptMemUsage))
|
||||
bars = append(bars, pb.NewByteCounter("NewByteCounter.NoSize.OptMem", -1, progress.OptMemUsage))
|
||||
|
||||
fp := proj.Abs("go.mod")
|
||||
bars = append(bars, pb.NewFilesizeCounter("NewFilesizeCounter", nil, fp))
|
||||
bars = append(bars, pb.NewFilesizeCounter("NewFilesizeCounter.OptTimer", nil, fp, progress.OptTimer))
|
||||
bars = append(bars, pb.NewFilesizeCounter("NewFilesizeCounter.OptTimer.OptMem", nil, "fp", progress.OptTimer, progress.OptMemUsage))
|
||||
bars = append(bars, pb.NewFilesizeCounter("NewFilesizeCounter.OptMem", nil, fp, progress.OptMemUsage))
|
||||
|
||||
incrStopCh := make(chan struct{})
|
||||
|
||||
go func() {
|
||||
|
@ -8,8 +8,6 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/files"
|
||||
|
||||
"github.com/fatih/color"
|
||||
colorable "github.com/mattn/go-colorable"
|
||||
wordwrap "github.com/mitchellh/go-wordwrap"
|
||||
@ -37,6 +35,7 @@ import (
|
||||
"github.com/neilotoole/sq/libsq/core/termz"
|
||||
"github.com/neilotoole/sq/libsq/core/timez"
|
||||
"github.com/neilotoole/sq/libsq/core/tuning"
|
||||
"github.com/neilotoole/sq/libsq/files"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -6,13 +6,12 @@ import (
|
||||
"io"
|
||||
"slices"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/core/lg"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
|
||||
"github.com/neilotoole/sq/cli/diff"
|
||||
"github.com/neilotoole/sq/cli/output"
|
||||
"github.com/neilotoole/sq/libsq/core/colorz"
|
||||
"github.com/neilotoole/sq/libsq/core/diffdoc"
|
||||
"github.com/neilotoole/sq/libsq/core/lg"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
"github.com/neilotoole/sq/libsq/core/record"
|
||||
)
|
||||
|
||||
|
@ -4,12 +4,11 @@ import (
|
||||
"log/slog"
|
||||
"time"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/core/ioz"
|
||||
|
||||
"github.com/fatih/color"
|
||||
"github.com/samber/lo"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/core/diffdoc"
|
||||
"github.com/neilotoole/sq/libsq/core/ioz"
|
||||
"github.com/neilotoole/sq/libsq/core/timez"
|
||||
)
|
||||
|
||||
|
@ -7,13 +7,12 @@ import (
|
||||
"fmt"
|
||||
"slices"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/core/lg"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
|
||||
"github.com/neilotoole/sq/cli/diff"
|
||||
"github.com/neilotoole/sq/cli/output"
|
||||
"github.com/neilotoole/sq/libsq/core/colorz"
|
||||
"github.com/neilotoole/sq/libsq/core/diffdoc"
|
||||
"github.com/neilotoole/sq/libsq/core/lg"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
"github.com/neilotoole/sq/libsq/core/record"
|
||||
)
|
||||
|
||||
|
@ -6,8 +6,6 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
"github.com/neilotoole/sq/libsq/core/progress"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/neilotoole/sq/cli/flag"
|
||||
@ -16,7 +14,9 @@ import (
|
||||
"github.com/neilotoole/sq/libsq/core/errz"
|
||||
"github.com/neilotoole/sq/libsq/core/lg"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lga"
|
||||
"github.com/neilotoole/sq/libsq/core/lg/lgm"
|
||||
"github.com/neilotoole/sq/libsq/core/options"
|
||||
"github.com/neilotoole/sq/libsq/core/progress"
|
||||
"github.com/neilotoole/sq/libsq/driver"
|
||||
"github.com/neilotoole/sq/libsq/source"
|
||||
"github.com/neilotoole/sq/libsq/source/drivertype"
|
||||
|
Loading…
Reference in New Issue
Block a user