From 115d21864137e2c7dffe1ec1d2e58ece1c246aba Mon Sep 17 00:00:00 2001 From: Aaron Son Date: Thu, 9 Jun 2022 14:28:49 -0700 Subject: [PATCH] go/store/datas: repoformat. --- go/store/datas/commit.go | 10 +++++----- go/store/datas/commit_test.go | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/go/store/datas/commit.go b/go/store/datas/commit.go index a2d411e3ae..0c119ba872 100644 --- a/go/store/datas/commit.go +++ b/go/store/datas/commit.go @@ -25,8 +25,8 @@ import ( "container/heap" "context" "errors" - "io" "fmt" + "io" flatbuffers "github.com/google/flatbuffers/go" @@ -35,9 +35,9 @@ import ( "github.com/dolthub/dolt/go/store/d" "github.com/dolthub/dolt/go/store/hash" "github.com/dolthub/dolt/go/store/nomdl" - "github.com/dolthub/dolt/go/store/types" - "github.com/dolthub/dolt/go/store/prolly/tree" "github.com/dolthub/dolt/go/store/prolly" + "github.com/dolthub/dolt/go/store/prolly/tree" + "github.com/dolthub/dolt/go/store/types" "github.com/dolthub/dolt/go/store/val" ) @@ -810,7 +810,7 @@ func (i *fbParentsClosureIterator) Next(ctx context.Context) bool { if i.i == 0 { return false } - i.i = i.i-1 + i.i = i.i - 1 return true } @@ -889,7 +889,7 @@ func newParentsClosureIterator(ctx context.Context, c *Commit, vr types.ValueRea i += 1 } return &fbParentsClosureIterator{ - tuples, len(tuples)-1, + tuples, len(tuples) - 1, }, nil } diff --git a/go/store/datas/commit_test.go b/go/store/datas/commit_test.go index 524fec792e..10d0f7273a 100644 --- a/go/store/datas/commit_test.go +++ b/go/store/datas/commit_test.go @@ -23,10 +23,10 @@ package datas import ( "context" - "fmt" - "testing" - "io" "errors" + "fmt" + "io" + "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -36,9 +36,9 @@ import ( "github.com/dolthub/dolt/go/store/d" "github.com/dolthub/dolt/go/store/hash" "github.com/dolthub/dolt/go/store/nomdl" - "github.com/dolthub/dolt/go/store/types" - "github.com/dolthub/dolt/go/store/prolly/tree" "github.com/dolthub/dolt/go/store/prolly" + "github.com/dolthub/dolt/go/store/prolly/tree" + "github.com/dolthub/dolt/go/store/types" "github.com/dolthub/dolt/go/store/val" )