mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-14 19:20:44 -05:00
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user