go-mongox
A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming
About go-mongox
English | 中文简体
go mongox
go mongox is a generic-based library that extends the official MongoDB framework. By using generics, it binds structs to MongoDB collections, aiming to provide type safety and simplified data operations. go mongox also introduces method chaining for smoother document operations and offers a rich set of BSON builders and built-in functions to simplify the construction of BSON data. Additionally, it supports plugin-based programming and provides various built-in hook functions, offering flexibility for custom logic before and after database operations, thus enhancing the scalability and maintainability of applications.
Feature Highlights
- Generic MongoDB Collections
- CRUD operations for documents
- Aggregation operations
- Built-in basic
Modelstruct with automatic updates to defaultfieldvalues - BSON data construction support
- Built-in Hooks
- Plugin-based programming support
Install
go get github.com/chenmingyong0423/go-mongox/v2
Getting Started
go mongoxGuides: https://go-mongox.dev
Contributing
With your participation, go-mongox will become even more powerful!
Contributors
Thank you for contributing to the go mongox framework!
Community
Join our community to get support, share ideas, and collaborate with others!
Contributors
A heartfelt thank you to all the developers who have contributed to this project!
Your support and efforts make this project.
Acknowledgements
Thanks to JetBrains for supporting this project through their Open Source Licenses program.
License
© Mingyong Chen,2024-now
This project is licensed under the Apache License.
Frequently Asked Questions
What is go-mongox?
go-mongox is a Database Drivers library for the Go programming language. A Go Mongo library based on the official driver, featuring streamlined document operations, generic binding of structs to collections, built-in CRUD, aggregation, automated field updates, struct validation, hooks, and plugin-based programming
How do I install go-mongox?
Install go-mongox with the Go module system using `go get chenmingyong0423/go-mongox`. Check the repository for the current installation instructions.
What category does go-mongox belong to?
go-mongox is listed under Database Drivers, specifically NoSQL Database Drivers.