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:
@ -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 {
|
||||
|
@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user