Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
redis-cli keys "*" > keys | |
cat keys | xargs -n 1 -L 1 redis-cli ttl > ttl | |
paste -d " " keys ttl | grep .*-1$ | cut -d " " -f 1 > without_ttl | |
# We can create a script for deleting the keys | |
cat without_ttl | awk '{print "redis-cli del "$1}' > redis.sh |
select nsp.nspname as object_schema, | |
cls.relname as object_name, | |
rol.rolname as owner, | |
case cls.relkind | |
when 'r' then 'TABLE' | |
when 'm' then 'MATERIALIZED_VIEW' | |
when 'i' then 'INDEX' | |
when 'S' then 'SEQUENCE' | |
when 'v' then 'VIEW' | |
when 'c' then 'TYPE' |
package main | |
import ( | |
"net/http" | |
"github.com/labstack/echo/v4" | |
"github.com/labstack/echo/v4/middleware" | |
_ "github.com/rizalgowandy/go-swag-sample/docs/echosimple" ### replace line with your own path | |
echoSwagger "github.com/swaggo/echo-swagger" | |
) |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
βββββββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββ¬ββββββββββ¬ββββββββ¬ββββββββββββ | |
β GET β iteration β ns/op β B/op β allocs/op β | |
βββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌββββββββββΌββββββββΌββββββββββββ€ | |
β gomodule/redigo-pool:100 β 3750 β 2581283 β 11564 β 65 β | |
β go-redis/redis/v8-pool:100 β 15184 β 83180 β 389 β 9 β | |
β mediocregopher/radix/v3-pool:100 β 13754 β 91094 β 618 β 16 β | |
β joomcode/redispipe-pool:100 β 1687 β 1381936 β 808 β 30 β | |
β go-redis/redis/v8/cluster-pool:100 β 80394 β 89093 β 229 β 8 β | |
β mediocregopher/radix/v3/cluster-pool:100 β 73596 β 99571 β 311 β 9 β |