1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +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

@ -4,10 +4,10 @@ import (
"errors"
"time"
redis "github.com/go-redis/redis/v8"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
redis "github.com/go-redis/redis/v8"
)
var _ = Describe("Cmd", func() {
@ -72,7 +72,7 @@ var _ = Describe("Cmd", func() {
})
It("supports time.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 := client.Set(ctx, "time_key", tm, 0).Err()
Expect(err).NotTo(HaveOccurred())