{"id":13412317,"url":"https://github.com/chenmingyong0423/go-mongox","last_synced_at":"2026-06-30T04:00:47.426Z","repository":{"id":200998787,"uuid":"668270985","full_name":"chenmingyong0423/go-mongox","owner":"chenmingyong0423","description":"A Go Mongo library based on the official MongoDB driver, featuring streamlined document operations, generic binding of structs to collections, built-in BSON doc builder,  automated field updates, struct validation, hooks, and plugin-based programming.","archived":false,"fork":false,"pushed_at":"2026-06-29T16:40:34.000Z","size":711,"stargazers_count":219,"open_issues_count":8,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-29T17:13:38.151Z","etag":null,"topics":["builder","database","go","golang","mongo","mongodb"],"latest_commit_sha":null,"homepage":"https://go-mongox.dev","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/chenmingyong0423.png","metadata":{"files":{"readme":"README-zh_CN.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":"2023-07-19T12:18:05.000Z","updated_at":"2026-06-29T16:40:28.000Z","dependencies_parsed_at":"2023-10-21T11:29:49.553Z","dependency_job_id":"9519cc17-8766-4c7e-9aa7-2f94dce02b12","html_url":"https://github.com/chenmingyong0423/go-mongox","commit_stats":{"total_commits":283,"total_committers":3,"mean_commits":94.33333333333333,"dds":0.4134275618374559,"last_synced_commit":"a9fc72d2a28e0da647d72a981a99ca4d8c2ca742"},"previous_names":["chenmingyong0423/go-mongox","chenmingyong0423/mongox","chenmingyong0423/godm"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/chenmingyong0423/go-mongox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenmingyong0423%2Fgo-mongox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenmingyong0423%2Fgo-mongox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenmingyong0423%2Fgo-mongox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenmingyong0423%2Fgo-mongox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenmingyong0423","download_url":"https://codeload.github.com/chenmingyong0423/go-mongox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenmingyong0423%2Fgo-mongox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34951598,"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-30T02:00:05.919Z","response_time":92,"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":["builder","database","go","golang","mongo","mongodb"],"created_at":"2024-07-30T20:01:23.376Z","updated_at":"2026-06-30T04:00:47.419Z","avatar_url":"https://github.com/chenmingyong0423.png","language":"Go","funding_links":[],"categories":["数据库驱动程序","Database Drivers","Go","Data Integration Frameworks"],"sub_categories":["NoSQL数据库驱动程序","NoSQL Database Drivers"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/chenmingyong0423/go-mongox-doc/main/docs/public/go-mongox-logo.png\" width=\"200\" height=\"200\" alt=\"go mongox\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/chenmingyong0423/go-mongox)](https://github.com/chenmingyong0423/go-mongox/stargazers)\n[![GitHub issues](https://img.shields.io/github/issues/chenmingyong0423/go-mongox)](https://github.com/chenmingyong0423/go-mongox/issues)\n[![GitHub License](https://img.shields.io/github/license/chenmingyong0423/go-mongox)](https://github.com/chenmingyong0423/go-mongox/blob/main/LICENSE)\n[![GitHub release (with filter)](https://img.shields.io/github/v/release/chenmingyong0423/go-mongox)](https://github.com/chenmingyong0423/go-mongox)\n[![codecov](https://codecov.io/gh/chenmingyong0423/go-mongox/graph/badge.svg?token=H3CROTTDZ1)](https://codecov.io/gh/chenmingyong0423/go-mongox)\n[![Go Report Card](https://goreportcard.com/badge/github.com/chenmingyong0423/go-mongox)](https://goreportcard.com/report/github.com/chenmingyong0423/go-mongox)\n[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/chenmingyong0423/go-mongox)\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)\n\n[English](./README.md) | 中文简体\n\n# go mongox\n`mongox` 是一个基于泛型的库，扩展了 `MongoDB` 的官方框架。通过泛型技术，它实现了结构体与 `MongoDB` 集合的绑定，旨在提供类型安全和简化的数据操作。`mongox` 还引入链式调用，让文档操作更流畅，并且提供了丰富的 `BSON` 构建器和内置函数，简化了 `BSON` 数据的构建。此外，它还支持插件化编程和内置多种钩子函数，为数据库操作前后的自定义逻辑提供灵活性，增强了应用的可扩展性和可维护性。\n\n# 功能特性\n- 泛型的 `MongoDB` 集合\n- 文档的 `CRUD` 操作\n- 聚合操作\n- 内置基本的 `Model` 结构体，自动化更新默认的 `field` 字段\n- 支持 `BSON` 数据的构建\n- 内置 `Hooks`\n- 支持插件化编程\n\n# 安装\n```go\ngo get github.com/chenmingyong0423/go-mongox/v2\n```\n\n# 快速开始\n- `go mongox` 指南： [https://go-mongox.dev](https://go-mongox.dev)\n\n# 贡献\n[如果有您的加入，go-mongox 将会变得更加强大！](https://go-mongox.dev/contribute.html)\n\n# 贡献者\n非常感谢 [您们](https://github.com/chenmingyong0423/go-mongox/graphs/contributors) 为 `go mongox` 框架做出的贡献！\n\n# 社区\n\n加入我们的社区获取支持、分享想法、参与讨论！\n\n[![加入 Discord](https://img.shields.io/badge/Discord-加入聊天-5865F2?logo=discord\u0026logoColor=white)](https://discord.gg/Cx8CMcRurb)\n\n# 贡献者\n\n衷心感谢所有为本项目做出贡献的开发者！  \n[![贡献值](https://contrib.rocks/image?repo=chenmingyong0423/go-mongox)](https://github.com/chenmingyong0423/go-mongox/graphs/contributors)\n\n你们的支持和努力使这个项目变得更加出色！\n\n# 致谢\n\n[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSourceSupport)\n\n感谢 JetBrains 通过其 [开源许可支持计划](https://www.jetbrains.com/community/opensource/) 对本项目的支持。\n\n# 版权\n© [陈明勇](https://github.com/chenmingyong0423)，2024-至今\n\n这个项目遵循 [Apache License](https://github.com/chenmingyong0423/go-mongox/blob/main/LICENSE) 许可。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenmingyong0423%2Fgo-mongox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenmingyong0423%2Fgo-mongox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenmingyong0423%2Fgo-mongox/lists"}