Mongo go models (mgm), Mongo ODM for Go


(Mehran Poursadeghi) #1

Mongo Go Models (mgm) is open-source and makes mongo search and aggregate super easy to do in Golang.

It’s model-based with all hooks for CRUD operations, You can do anything before/after all operations. By default has id,created_at(auto-fill),updated_at(auto-update) fields (you can change this behavior).

Really easy to config Mongo’s go driver.

All Mongo operators are predefined so you don’t have to hard code them.

this is the first Golang ODM wrapper for official Mongo Go Driver.

give it a try and let us know what you think :slight_smile: