From 98e9e3076a10ade4ee678d7b67efd32ceeda4051 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 04:34:31 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 4aa3ce6 according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2210 --- cmd/tools/cli/benchmark/cgo/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/tools/cli/benchmark/cgo/main.go b/cmd/tools/cli/benchmark/cgo/main.go index 9cf1f20f63..562418c3c7 100644 --- a/cmd/tools/cli/benchmark/cgo/main.go +++ b/cmd/tools/cli/benchmark/cgo/main.go @@ -344,10 +344,10 @@ func main() { // }) // run(ctx, true, path, len(vectors[0]), vectors, ids, time.Hour*2, output) - //ids = ids[:0:0] - //ids = nil - //vectors = vectors[:0:0] - //vectors = nil + // ids = ids[:0:0] + // ids = nil + // vectors = vectors[:0:0] + // vectors = nil sleep(ctx, time.Second*5, time.Minute*1, func() { output("waiting for gc") }, func() {