{"id":13470002,"url":"https://github.com/ixre/go2o","last_synced_at":"2026-03-12T21:06:58.156Z","repository":{"id":24903181,"uuid":"28319745","full_name":"ixre/go2o","owner":"ixre","description":"基于DDD的o2o的业务模型及基础, 使用Golang+gRPC/Thrift实现","archived":false,"fork":false,"pushed_at":"2026-01-12T08:26:25.000Z","size":82729,"stargazers_count":1135,"open_issues_count":7,"forks_count":269,"subscribers_count":85,"default_branch":"main","last_synced_at":"2026-01-14T13:57:10.570Z","etag":null,"topics":["ddd","e-commerce","go","oop"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ixre.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":"2014-12-22T01:12:46.000Z","updated_at":"2026-01-12T08:26:32.000Z","dependencies_parsed_at":"2023-10-15T07:06:49.638Z","dependency_job_id":"6799d32c-639b-45a5-bc8c-2b4a9ea88b16","html_url":"https://github.com/ixre/go2o","commit_stats":{"total_commits":2870,"total_committers":15,"mean_commits":"191.33333333333334","dds":"0.032404181184669034","last_synced_commit":"f8b83364c52e10c11d5ea257b48b22aa5213c776"},"previous_names":["jsix/go2o","jrsix/go2o","atnet/go2o"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ixre/go2o","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixre%2Fgo2o","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixre%2Fgo2o/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixre%2Fgo2o/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixre%2Fgo2o/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixre","download_url":"https://codeload.github.com/ixre/go2o/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixre%2Fgo2o/sbom","scorecard":{"id":214921,"data":{"date":"2025-08-11","repo":{"name":"github.com/ixre/go2o","commit":"1394d6df1741997e235c2e6f59f7b223879e0cc6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:6","Warn: containerImage not pinned by hash: Dockerfile:19: pin your Docker image by updating alpine to alpine@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3603 / GHSA-m454-3xv7-qj85","Warn: Project is vulnerable to: GHSA-q7pp-wcgr-pffx","Warn: Project is vulnerable to: GO-2024-3250 / GHSA-29wx-vh33-7x7r","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T01:28:35.172Z","repository_id":24903181,"created_at":"2025-08-17T01:28:35.172Z","updated_at":"2025-08-17T01:28:35.172Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30444319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T20:23:30.529Z","status":"ssl_error","status_checked_at":"2026-03-12T20:23:14.027Z","response_time":114,"last_error":"SSL_read: 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":["ddd","e-commerce","go","oop"],"created_at":"2024-07-31T16:00:21.271Z","updated_at":"2026-03-12T21:06:58.132Z","avatar_url":"https://github.com/ixre.png","language":"Go","readme":"![Go2o](https://raw.githubusercontent.com/ixre/go2o/master/docs/mark.gif \"GO2O\")\n\n[![Build Status](https://cloud.drone.io/api/badges/ixre/cms/status.svg)](https://cloud.drone.io/ixre/cms)\n\n## What's Go2o? ##\n\nGo2o is Google Go language binding domain-driven design (DDD) O2O open source implementation. Support Online Store ,\nOffline stores; multi-channel (businesses), multi-store, merchandise, snapshots, orders, sales, payment, distribution\nand other functions.\n\nProject by a management center (including platform management center, business background, store background), online\nstore (PC shop, Handheld shops, micro-channel), the member center, open API in four parts.\n\nGo2o using domain-driven design for business depth abstract, theoretical support in most sectors O2O scenarios. Through\nopen API, you can seamlessly integrate into legacy systems.\n\n## Go2o 介绍 ##\n\nGo2o是使用Golang语言结合领域驱动设计（DDD)的O2O实现。支持线上商店，线下门店；多渠道\n\n（商户)、多门店、商品、规格SKU、快照、订单、促销、支付、配送等功能。\n\n项目由管理中心(包括平台管理中心、商户后台、门店后台）、线上商店(PC商店、手持设备商店、微信)、\n\n会员中心和通行证、服务四部分组成。\n\nGo2o使用领域驱动设计对业务深度抽象，支持常见的O2O应用场景。通过Socket服务,可以开发安卓和IOS,\n\n使用RPC服务可以方便与其他系统进行集成。\n\n![Go2o](https://raw.githubusercontent.com/ixre/go2o/master/snapshot/dashboard.png \"GO2O-DASHBOARD\")\n\n\n贡献代码请看： [todo list](https://github.com/ixre/go2o/tree/master/docs/dev/todo.md) |\n[bug list](https://github.com/ixre/go2o/tree/master/docs/dev/bug.md)\n\n\n========================================\n\n感谢以下哥们和匿名捐助的朋友：\n\n- *巍\n- zhu***@126.com \n- 职业码农 \n- 奋斗富三代\n\nQQ群：**338164725**\n\n**特别感谢: 领域驱动设计的专家-(腾讯)王立老师,我的良师益友;没有他,就没有这个项目!\n\n\n## 运行 \n\n### 准备运行环境\n\n- 安装`PostgreSQL`并创建名为`go2o`的数据库, 下载数据备份文件:[go2o.sql](https://github.com/ixre/go2o/blob/master/docs/data/go2o.sql)进行还原\n- 安装nats\n- 安装etcd,单机创建单节点既可\n\n###　编译运行\n```\ngit clone https://github.com/ixre/go2o.git ./go2o\ncd go2o \u0026\u0026 go mod tidy \ngo run go2o-serve.go\n```\n指定参数,请参考:\n```\nUsage of go2o-serve:\n  -apiport int\n        api service port (default 1428)\n  -conf string\n         (default \"app.conf\")\n  -d    run daemon\n  -debug\n        enable debug\n  -endpoint etcd endpoints\n  -help\n        command usage\n  -mqs string\n        mq cluster address, like: 192.168.1.1:4222,192.168.1.2:4222 (default \"127.0.0.1:4222\")\n  -port int\n        gRPC service port (default 1427)\n  -trace\n        enable trace\n  -v    print version\n```\n\n推荐使用[docker-compose](container/docker-compose.yaml)一键运行\n```\ndocker-compose up -f container/docker-compose.yaml\n```\n\n\n","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixre%2Fgo2o","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixre%2Fgo2o","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixre%2Fgo2o/lists"}