{"id":13600314,"url":"https://github.com/fastwego/wxwork","last_synced_at":"2026-01-16T18:38:25.290Z","repository":{"id":57537702,"uuid":"285566949","full_name":"fastwego/wxwork","owner":"fastwego","description":"[企业微信] A fast wxwork development sdk written in Golang","archived":false,"fork":false,"pushed_at":"2021-01-11T06:34:45.000Z","size":610,"stargazers_count":119,"open_issues_count":2,"forks_count":32,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T21:38:27.857Z","etag":null,"topics":["fastwego","wechat","wechat4work","weixin"],"latest_commit_sha":null,"homepage":"https://fastwego.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastwego.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://pic2.zhimg.com/80/v2-6b84f07b309b6e1ad1b3141c3e9d34dc_1440w.png"]}},"created_at":"2020-08-06T12:33:02.000Z","updated_at":"2025-04-07T03:44:52.000Z","dependencies_parsed_at":"2022-09-04T14:01:18.505Z","dependency_job_id":null,"html_url":"https://github.com/fastwego/wxwork","commit_stats":null,"previous_names":["fastwego/wechat4work"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fastwego/wxwork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fwxwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fwxwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fwxwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fwxwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastwego","download_url":"https://codeload.github.com/fastwego/wxwork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastwego%2Fwxwork/sbom","scorecard":{"id":393557,"data":{"date":"2025-08-11","repo":{"name":"github.com/fastwego/wxwork","commit":"ccee022afd89673f8a24969dac3f25ab4ee170a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Code-Review","score":0,"reason":"Found 1/17 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/fastwego/wxwork/ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/fastwego/wxwork/ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/fastwego/wxwork/ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/fastwego/wxwork/ci.yaml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction 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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T18:24:52.473Z","repository_id":57537702,"created_at":"2025-08-18T18:24:52.473Z","updated_at":"2025-08-18T18:24:52.473Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["fastwego","wechat","wechat4work","weixin"],"created_at":"2024-08-01T18:00:35.851Z","updated_at":"2026-01-16T18:38:25.245Z","avatar_url":"https://github.com/fastwego.png","language":"Go","funding_links":["https://pic2.zhimg.com/80/v2-6b84f07b309b6e1ad1b3141c3e9d34dc_1440w.png"],"categories":["Go"],"sub_categories":[],"readme":"# fastwego/wxwork \n\nA fast [wxwork](https://work.weixin.qq.com/api/doc) development sdk written in Golang\n\n[![GoDoc](https://pkg.go.dev/badge/github.com/fastwego/wxwork?status.svg)](https://pkg.go.dev/github.com/fastwego/wxwork?tab=doc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/fastwego/wxwork)](https://goreportcard.com/report/github.com/fastwego/wxwork)\n\n## 快速开始 \u0026 demo\n\n```shell script\ngo get github.com/fastwego/wxwork\n```\n\n```go\n\n// 创建企业实例\nCorp = corporation.New(corporation.Config{Corpid: \"CROPID\"})\n\n//创建通讯录 App\nContactApp = Corp.NewApp(corporation.AppConfig{\n    AgentId:        \"AGENTID\",\n    Secret:         \"SECRET\",\n    Token:          \"TOKEN\",\n    EncodingAESKey: \"EncodingAESKey\",\n})\n\n// 通讯录管理 -\u003e 获取部门成员详情\nparams := url.Values{}\nparams.Add(\"department_id\", \"10086\")\nresp, err := user.SimpleList(ContactApp, params)\n```\n\n完整演示项目：\n\n[https://github.com/fastwego/wxwork-demo](https://github.com/fastwego/wxwork-demo)\n\n接口列表：\n\n[corporation/doc/apilist.md](corporation/doc/apilist.md)\t\n\n## 架构设计\n\n![sdk](corporation/doc/img/sdk.jpg)\n\n## 框架特点\n\n### 快速\n\n「快」作为框架设计的核心理念，体现在方方面面：\n\n- 使用 Go 语言，开发快、编译快、部署快、运行快，轻松服务海量用户\n- 丰富的[文档](https://pkg.go.dev/github.com/fastwego/wxwork) / [教程](corporation/doc/SUMMARY.md) 和 [演示代码](https://github.com/fastwego/wxwork-demo) ，快速上手，5 分钟即可搭建一套完整的微信服务\n- 独立清晰的模块划分，快速熟悉整个框架，没有意外，一切都是你期望的样子\n- 甚至连框架自身的大部分代码也是自动生成的，维护更新快到超乎想象\n\n### 符合直觉\n\n作为第三方开发框架，尽可能贴合官方文档和设计，不引入新的概念，不给开发者添加学习负担\n\n### 简洁而不过度封装\n\n作为具体业务和企业微信之间的中间层，专注于通道的角色：帮业务把配置/材料投递到企业微信，将企业微信响应/推送透传回业务\n\n至于 [AccessToken 管理](corporation/doc/access_token.md) 和 [消息加解密处理](corporation/doc/message.md)，框架内部完成得干净利落，开发者甚至觉察不到存在\n\n### 官方文档就是最好的文档\n\n每个接口的注释都附带官方文档的链接，让你随时翻阅，省时省心\n\n### 完备的单元测试\n\n100% 覆盖每一个接口，让你每一次调用都信心满满\n\n### 详细的日志\n\n每个关键环节都为你完整记录，Debug 倍轻松，你可以自由定义日志输出，甚至可以关闭日志\n\n### 多账号支持\n\n一套服务支持多个企业微信账号，轻松成为第三方开发服务平台，业务节节高\n\n### 支持服务集群\n\n单台服务器支撑不住访问流量/想提高服务可用性？\n\n只需 [设置 GetAccessTokenFunc 方法](https://pkg.go.dev/github.com/fastwego/wxwork/corporation?tab=doc#App.SetGetAccessTokenHandler) ，从中控服务获取 AccessToken，即可解决多实例刷新冲突/覆盖的问题\n\n### 活跃的开发者社区\n\nFastWeGo 是一套完整的微信开发框架，包括公众号、开放平台、微信支付、企业微信、小程序、小游戏等微信服务，拥有庞大的开发者用户群体\n\n你遇到的所有问题几乎都可以在社区找到解决方案\n\n## 参与贡献\n\n欢迎提交 pull request / issue / 文档，一起让微信开发更快更好！\n\nFaster we go together!\n\n[加入开发者交流群](https://github.com/fastwego/fastwego.dev#%E5%BC%80%E5%8F%91%E8%80%85%E4%BA%A4%E6%B5%81%E7%BE%A4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastwego%2Fwxwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastwego%2Fwxwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastwego%2Fwxwork/lists"}