1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

chore: gofmt all code

This commit is contained in:
Vladimir Mihailenco
2021-09-08 16:00:52 +03:00
parent 11c4d6f556
commit 9b6ee9c3cc
34 changed files with 72 additions and 55 deletions

View File

@ -3,9 +3,10 @@ package proto_test
import (
"encoding/json"
"github.com/go-redis/redis/v8/internal/proto"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/go-redis/redis/v8/internal/proto"
)
type testScanSliceStruct struct {

View File

@ -6,10 +6,10 @@ import (
"testing"
"time"
"github.com/go-redis/redis/v8/internal/proto"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/go-redis/redis/v8/internal/proto"
)
type MyType struct{}
@ -51,7 +51,7 @@ var _ = Describe("WriteBuffer", func() {
})
It("should append time", func() {
tm := time.Date(2019, 01, 01, 9, 45, 10, 222125, time.UTC)
tm := time.Date(2019, 1, 1, 9, 45, 10, 222125, time.UTC)
err := wr.WriteArgs([]interface{}{tm})
Expect(err).NotTo(HaveOccurred())