Following unimplemented functions panic when called, as they have nothing in
their function body except the call to panic
.
func (c cmdable) Sync(_ context.Context) {
panic("not implemented")
}
func (c cmdable) Quit(_ context.Context) *StatusCmd {
panic("not implemented")
}
ctx := context.TODO()
client := redis.NewClient(&redis.Options{})
client.Sync(ctx)
client.Quit(ctx)
...
ctx := context.TODO()
client := redis.NewClient(&redis.Options{})
...