Does `glob.Glob` support serialization?
inliquid opened this issue · 0 comments
inliquid commented
Hi!
I have an app which builds in-memory cache containing glob.Glob
for a number of patterns from a DB. I would like to move this local cache to a separate instance such as Redis, will this be a problem with for instance marshalling/unmarshalling to JSON (or any suitable alternative) when storing compiled patterns elsewhere?