mgod

MongoDB ODM for Go - Designed to work efficiently with Go models and official Mongo Go driver

MIT License

Stars
35
mgod - 0.4.0 Latest Release

Published by harsh-2711 10 months ago

Features

  • add wrapper function WithTransaction to support MongoDB transactions
  • add ci workflow to lint and test the module automatically on PRs and pushes to the main branch

Fixes

  • re-architect the connection logic to attach EntityMongoModel with the database connection to support multi-tenancy
mgod - 0.3.0

Published by smundra603 10 months ago

Features

  • add a setup step for storing a default Mongo connection, eliminating the need to pass it during EntityMongoModel creation

Documentation

mgod - 0.2.0

Published by harsh-2711 11 months ago

Documentation

  • add detailed comments for all packages in the module to improve readability and understanding of the code
  • add the README file describing all the major features along with the future scope of this module

Fixes

  • remove unused code and refactor the visibility of some package variables and functions to improve code suggestions
mgod - 0.1.0

Published by smundra603 11 months ago

Initial Release

Features

  • add support to define mongodb schema from go models
  • add support for union types
  • add support for mongodb odm
Package Rankings
Top 10.16% on Proxy.golang.org