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

This commit is contained in:
zachmu
2023-09-28 21:23:31 +00:00
parent c3c3f41c6d
commit 4afa2864ca
6 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -18,9 +18,10 @@ import (
"testing"
"time"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
)
func TestParseDate(t *testing.T) {
+1 -1
View File
@@ -19,11 +19,11 @@ import (
"fmt"
"time"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/fatih/color"
"github.com/dolthub/dolt/go/cmd/dolt/cli"
"github.com/dolthub/dolt/go/cmd/dolt/errhand"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/dolthub/dolt/go/libraries/doltcore/env"
"github.com/dolthub/dolt/go/libraries/utils/argparser"
"github.com/dolthub/dolt/go/store/datas"
@@ -47,4 +47,3 @@ func ParseDate(dateStr string) (time.Time, error) {
return time.Time{}, errors.New("error: '" + dateStr + "' is not in a supported format.")
}
@@ -18,14 +18,15 @@ import (
"errors"
"fmt"
"github.com/dolthub/go-mysql-server/sql"
"github.com/dolthub/go-mysql-server/sql/types"
"github.com/dolthub/dolt/go/cmd/dolt/cli"
"github.com/dolthub/dolt/go/libraries/doltcore/branch_control"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/dolthub/dolt/go/libraries/doltcore/env/actions"
"github.com/dolthub/dolt/go/libraries/doltcore/sqle/dsess"
"github.com/dolthub/dolt/go/store/datas"
"github.com/dolthub/go-mysql-server/sql"
"github.com/dolthub/go-mysql-server/sql/types"
)
// doltCommit is the stored procedure version for the CLI command `dolt commit`.
@@ -19,13 +19,13 @@ import (
"fmt"
"strings"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/dolthub/go-mysql-server/sql"
gmstypes "github.com/dolthub/go-mysql-server/sql/types"
goerrors "gopkg.in/src-d/go-errors.v1"
"github.com/dolthub/dolt/go/cmd/dolt/cli"
"github.com/dolthub/dolt/go/libraries/doltcore/branch_control"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/dolthub/dolt/go/libraries/doltcore/doltdb"
"github.com/dolthub/dolt/go/libraries/doltcore/env"
"github.com/dolthub/dolt/go/libraries/doltcore/env/actions"
+3 -2
View File
@@ -21,9 +21,10 @@ import (
"strings"
"time"
"github.com/sirupsen/logrus"
"github.com/dolthub/dolt/go/libraries/doltcore/dconfig"
"github.com/dolthub/dolt/go/store/types"
"github.com/sirupsen/logrus"
)
const (
@@ -80,7 +81,7 @@ func init() {
}
}
}
authorDate := os.Getenv(dconfig.EnvDoltAuthorDate)
if authorDate != "" {
authorDate, err := dconfig.ParseDate(authorDate)