<commit_before># cache
cache golang
<commit_msg>update docs<commit_after># cache


## import
```
	"github.com/weisd/cache"
	_ "github.com/weisd/cache/redis"
```

## echo Middleware
```
e := echo.New()
e.Use(cache.EchoCacher(cache.Options{Adapter: "redis", AdapterConfig: `{"Addr":":6379"}`, Section: "test", Interval: 5}))

e.Get("/test/cache/put", func(c *echo.Context) error {
	err := cache.Store(c).Put("name", "weisd", 10)
	if err != nil {
		return err
	}

	return c.String(200, "store ok")
})

e.Get("/test/cache/get", func(c *echo.Context) error {
	name := cache.Store(c).Get("name")

	return c.String(200, "get name %s", name)
})

e.Run(":1323")

```

##
{'fraction_non_alphanumeric': 0.22692889561270801, 'fraction_numerical': 0.025718608169440244, 'mean_word_length': 4.610169491525424, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6141068', 'n_tokens_mistral': 288, 'n_tokens_neox': 264, 'n_words': 52}