gitea/modules/cache
wxiaoguang 4f27c28947
Remove legacy `unknwon/com` package ()
Follows: 
* The `CopyDir` is only used inside test code
* Rewrite `ToSnakeCase` with more test cases
* The `RedisCacher` only put strings into cache, here we use internal `toStr` to replace the legacy `ToStr`
* The `UniqueQueue` can use string as ID directly, no need to call `ToStr`
..
cache.go format with gofumpt ()
cache_redis.go Remove legacy `unknwon/com` package ()
cache_test.go format with gofumpt ()
cache_twoqueue.go Add an abstract json layout to make it's easier to change json library ()