{"id":22647079,"url":"https://github.com/damingerdai/address-go","last_synced_at":"2026-06-14T21:34:17.984Z","repository":{"id":41272610,"uuid":"225108058","full_name":"damingerdai/address-go","owner":"damingerdai","description":"an address api based on golang","archived":false,"fork":false,"pushed_at":"2024-07-05T09:32:13.000Z","size":42663,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-29T06:47:36.510Z","etag":null,"topics":["address","chinese","deo2ip","go"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","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/damingerdai.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}},"created_at":"2019-12-01T04:49:52.000Z","updated_at":"2024-07-05T09:32:16.000Z","dependencies_parsed_at":"2024-02-19T07:46:04.259Z","dependency_job_id":null,"html_url":"https://github.com/damingerdai/address-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damingerdai/address-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damingerdai%2Faddress-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damingerdai%2Faddress-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damingerdai%2Faddress-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damingerdai%2Faddress-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damingerdai","download_url":"https://codeload.github.com/damingerdai/address-go/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damingerdai%2Faddress-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["address","chinese","deo2ip","go"],"created_at":"2024-12-09T07:32:35.669Z","updated_at":"2026-06-14T21:34:17.966Z","avatar_url":"https://github.com/damingerdai.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# address-go\nan address api based on golang\n\n# Get Start\n\nif you want to run this project, these software are required\n1. [Docker](https://docs.docker.com/install/)\n\u003e if you use the Mac or Windows, please install `Docker Desktop`;\n\u003e if you use the Linux, please download [docker-compose](https://docs.docker.com/compose/install/) separately.\n2. [Golang](https://golang.org/dl/)\n\n## Install\n```bash\ngit clone https://github.com/damingerdai/address-go.git\n```\n\n## Init\n\n### Create Volume\n\n```bash\ndocker volume create --name=address-go\n```\n\n### Create Network\n\n```bash\ndocker network create address-networks\n```\n\n### Docker Compose\n\nrun for mysql\n```bash\ndocker compose up mysql\n```\n\n### Init data\n\nin `data` folder, exec these sql files to init data\n\n# Run\n\n```bash\nmake run\n```\n\n# Bazel\n\nupdate repositories\n\n```bash\nbazel run //:gazelle\nbazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies\n```\n\nbuild\n\n```\nbazel build //cmd/address:address\n```\n\n# Data\ni use this [data source](https://github.com/wecatch/china_regions)\n\n# bazel\n\n```\n bazel run //:gazelle\n bazel run //:gazelle -- update-repos -from_file=go.mod\n bazel build //cmd/address:address\n```\n\n# Roadmap\n\n## 2019.12.30\n1. use [golang-standards](https://github.com/golang-standards/project-layout) to refactor the project layout [x]\n\n# Owner\n\n[@大明二代](https://github.com/damingerdai)\n\n# License\n\n[MIT](LICENSE) © 大明二代","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamingerdai%2Faddress-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamingerdai%2Faddress-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamingerdai%2Faddress-go/lists"}