Remove need for slice when setting cache tags. Require cache key for get/set ops.

This commit is contained in:
mikestefanello 2022-01-14 13:07:19 -05:00
parent bfbb9669aa
commit 3f053711ba
5 changed files with 20 additions and 11 deletions

View file

@ -166,7 +166,7 @@ func TestController_RenderPage(t *testing.T) {
// Clear the tag
err = c.Cache.
Flush().
Tags([]string{p.Cache.Tags[0]}).
Tags(p.Cache.Tags[0]).
Exec(context.Background())
require.NoError(t, err)