{"id":48601702,"url":"https://github.com/yuewokeji/redistmt","last_synced_at":"2026-04-08T22:30:39.873Z","repository":{"id":57616365,"uuid":"383408527","full_name":"yuewokeji/redistmt","owner":"yuewokeji","description":"Redistmt return a short statement without values.","archived":false,"fork":false,"pushed_at":"2021-07-08T08:16:15.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-12T07:11:37.703Z","etag":null,"topics":["go","redis","statement"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuewokeji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-06T09:11:47.000Z","updated_at":"2024-05-28T08:07:58.000Z","dependencies_parsed_at":"2022-08-27T07:32:06.215Z","dependency_job_id":null,"html_url":"https://github.com/yuewokeji/redistmt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yuewokeji/redistmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuewokeji%2Fredistmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuewokeji%2Fredistmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuewokeji%2Fredistmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuewokeji%2Fredistmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuewokeji","download_url":"https://codeload.github.com/yuewokeji/redistmt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuewokeji%2Fredistmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","redis","statement"],"created_at":"2026-04-08T22:30:36.734Z","updated_at":"2026-04-08T22:30:39.866Z","avatar_url":"https://github.com/yuewokeji.png","language":"Go","readme":"# Redistmt\n\nRedistmt return a short statement without values, which will be replaced with some characters(the default is '?').\n\n# Initialization\n\n```shell script\ngo get -u github.com/yuewokeji/redistmt\n```\n\n# Usage\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"github.com/go-redis/redis/v8\"\n\t\"github.com/yuewokeji/redistmt\"\n\t\"time\"\n)\n\nfunc main() {\n\tclient := redis.NewClient(\u0026redis.Options{\n\t\tAddr: \"127.0.0.1\",\n\t})\n\n\tcmd1 := client.Set(context.Background(), \"key\", \"value\", time.Minute)\n\tstmt1 := redistmt.NewStatement(cmd1.Args())\n\tfmt.Println(stmt1.ShortString())\n\t// set key ? ex 60\n\n\tcmd2 := client.MSet(context.Background(), \"key1\", \"value1\", \"key2\", \"value2\")\n\tstmt2 := redistmt.NewStatement(cmd2.Args())\n\tfmt.Println(stmt2.ShortString())\n\t// mset key1 ? key2 ?\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuewokeji%2Fredistmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuewokeji%2Fredistmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuewokeji%2Fredistmt/lists"}