{"id":13412317,"url":"https://github.com/chenmingyong0423/go-mongox","last_synced_at":"2025-04-04T18:04:41.967Z","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":"2025-03-22T11:34:15.000Z","size":744,"stargazers_count":178,"open_issues_count":3,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T17:07:49.233Z","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}},"created_at":"2023-07-19T12:18:05.000Z","updated_at":"2025-03-25T10:07:47.000Z","dependencies_parsed_at":"2023-10-21T11:29:49.553Z","dependency_job_id":"7602c2d6-c3b7-4d64-97f4-eae3782d4c19","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":53,"template":false,"template_full_name":null,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226213,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-04-04T18:04:41.949Z","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© [陈明勇](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"}