{"id":31826036,"url":"https://github.com/go-spring/starter-redigo","last_synced_at":"2026-05-18T10:35:13.723Z","repository":{"id":46029248,"uuid":"420084781","full_name":"go-spring/starter-redigo","owner":"go-spring","description":"🔥 [released] redigo 启动器 (starter for redigo)","archived":false,"fork":false,"pushed_at":"2026-03-27T12:05:53.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T23:10:08.553Z","etag":null,"topics":["go-spring","redigo","redis","starter"],"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/go-spring.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-22T12:10:20.000Z","updated_at":"2026-03-27T12:05:03.000Z","dependencies_parsed_at":"2025-10-02T13:31:42.558Z","dependency_job_id":null,"html_url":"https://github.com/go-spring/starter-redigo","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/go-spring/starter-redigo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fstarter-redigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fstarter-redigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fstarter-redigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fstarter-redigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-spring","download_url":"https://codeload.github.com/go-spring/starter-redigo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fstarter-redigo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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-spring","redigo","redis","starter"],"created_at":"2025-10-11T16:57:13.437Z","updated_at":"2026-05-18T10:35:13.719Z","avatar_url":"https://github.com/go-spring.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starter-redigo\n\n[English](README.md) | [中文](README_CN.md)\n\n\u003e The project has been officially released, welcome to use!\n\n`starter-redigo` provides a Redis client wrapper based on redigo,\nmaking it easy to integrate and use Redis in Go-Spring applications.\n\n## Installation\n\n```bash\ngo get github.com/go-spring/starter-redigo\n```\n\n## Quick Start\n\n### 1. Import the `starter-redigo` Package\n\nRefer to the [example.go](example/example.go) file.\n\n```go\nimport _ \"github.com/go-spring/starter-redigo\"\n```\n\n### 2. Configure the Redis Instance\n\nAdd Redis configuration in your project’s [configuration file](example/conf/app.properties), for example:\n\n```properties\nspring.redigo.main.addr=127.0.0.1:6379\n```\n\n### 3. Inject the Redis Instance\n\nRefer to the [example.go](example/example.go) file.\n\n```go\nimport \"github.com/gomodule/redigo/redis\"\n\ntype Service struct {\n    Redis *redis.Client `autowire:\"\"`\n}\n```\n\n### 4. Use the Redis Instance\n\nRefer to the [example.go](example/example.go) file.\n\n```go\nstr, err := s.Redis.Get(r.Context(), \"key\").Result()\nstr, err := s.Redis.Set(r.Context(), \"key\", \"value\", 0).Result()\n```\n\n## Advanced Features\n\n* **Supports multiple Redis instances**: You can define multiple Redis instances in the configuration file and reference\n  them by name in your project.\n* **Support Redis extensions**: You can extend Redis functionality by implementing the `Driver` interface — see the\n  example implementation `AnotherRedisDriver`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring%2Fstarter-redigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-spring%2Fstarter-redigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring%2Fstarter-redigo/lists"}