github.com/angenalZZZ/gofunc@v0.0.0-20210507121333-48ff1be3917b/data/cache/store/invalidate_options.go (about) 1 package store 2 3 // InvalidateOptions represents the cache invalidation available options 4 type InvalidateOptions struct { 5 // Tags allows to specify associated tags to the current value 6 Tags []string 7 } 8 9 // TagsValue returns the tags option value 10 func (o InvalidateOptions) TagsValue() []string { 11 return o.Tags 12 }