[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
zachmu
2022-06-28 00:34:12 +00:00
parent bf7734d3d5
commit ea9ee3f9bd
3 changed files with 7 additions and 6 deletions

View File

@@ -18,9 +18,10 @@ import (
"context"
"time"
"github.com/dolthub/go-mysql-server/sql"
"github.com/dolthub/dolt/go/store/diff"
"github.com/dolthub/dolt/go/store/types"
"github.com/dolthub/go-mysql-server/sql"
)
// ChangeType is an enum that represents the type of change in a diff
@@ -67,4 +68,4 @@ type SqlRowDiffWriter interface {
}
// ColorFunc is a function that can color a format string
type ColorFunc func (a ...interface{}) string
type ColorFunc func(a ...interface{}) string

View File

@@ -161,9 +161,9 @@ func (dtf *DiffTableFunction) RowIter(ctx *sql.Context, _ sql.Row) (sql.RowIter,
// loadDetailsForRef loads the root, hash, and timestamp for the specified ref value
func (dtf *DiffTableFunction) loadDetailsForRef(
ctx *sql.Context,
ref interface{},
ddb Database,
ctx *sql.Context,
ref interface{},
ddb Database,
) (*doltdb.RootValue, string, *types.Timestamp, error) {
hashStr, ok := ref.(string)
if !ok {

View File

@@ -21,7 +21,6 @@ import (
"sync"
"time"
"github.com/dolthub/dolt/go/store/types"
"github.com/dolthub/go-mysql-server/sql"
goerrors "gopkg.in/src-d/go-errors.v1"
@@ -33,6 +32,7 @@ import (
"github.com/dolthub/dolt/go/libraries/doltcore/sqle/writer"
"github.com/dolthub/dolt/go/libraries/doltcore/table/editor"
"github.com/dolthub/dolt/go/libraries/utils/config"
"github.com/dolthub/dolt/go/store/types"
)
type batchMode int8