gobwas / glob

Go glob
MIT License
948 stars 63 forks source link

Does `glob.Glob` support serialization? #60

Open inliquid opened 1 year ago

inliquid commented 1 year ago

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?