Skip to content

Commit

Permalink
fmt: Reformat the whole tree
Browse files Browse the repository at this point in the history
  • Loading branch information
feliixx committed Dec 2, 2024
1 parent 1bb2395 commit abc12f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions datagen/generators/generators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,19 +345,19 @@ func TestNewGenerator(t *testing.T) {
{
name: "autoincrement int with invalid start",
config: generators.Config{
Type: generators.TypeAutoincrement,
AutoType: "int",
Start: "°",
Type: generators.TypeAutoincrement,
AutoType: "int",
Start: "°",
},
correct: false,
version: []int{3, 6},
},
{
name: "autoincrement long with invalid start",
config: generators.Config{
Type: generators.TypeAutoincrement,
AutoType: "long",
Start: "°",
Type: generators.TypeAutoincrement,
AutoType: "long",
Start: "°",
},
correct: false,
version: []int{3, 6},
Expand Down
2 changes: 1 addition & 1 deletion datagen/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type baseWriter struct {
func (b *baseWriter) generateDocument(ctx context.Context, tasks chan<- *rawChunk, nbDoc int, docGenerator *generators.DocumentGenerator) {

// generate a document, and use it's length to adjust the initial
// size of the slices in the pool
// size of the slices in the pool
docBytes := docGenerator.Generate()
setPoolSliceSize(len(docBytes))

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
//
// Use this to set version to last known tag:
//
// go build -ldflags "-X main.Version=$(git describe --tags $(git rev-list --tags --max-count=1))"
// go build -ldflags "-X main.Version=$(git describe --tags $(git rev-list --tags --max-count=1))"
var Version string = "v0.12.0"

func main() {
Expand Down

0 comments on commit abc12f2

Please sign in to comment.