{"repo":"jensteichert/colt","free":true,"listed":false,"github":"https://github.com/jensteichert/colt","clone":"git clone https://github.com/jensteichert/colt.git","description":"A productive and type-safe MongoDB ODM for Go. Based on the official MongoDB driver but elegant to use.","language":"Go","stars":48,"topics":["generics","golang","mongodb","database","mongodb-driver","go","mongoose","odm"],"license":"MIT","category":"databases-storage","readme_excerpt":"Colt The MongoDB ODM for Go i've always wanted. Inspired by Mongoose. Colt wraps the official mongo-go-driver. Requirements - Go 1.18 or higher. Colt leverages Generics to provide type-safe methods and decoding of documents. Installation To install Colt, use go get : Quick Start Features Hooks BeforeInsert Hook Triggers before a document will be inserted BeforeUpdate Hook Triggers before a document will be updated NewID Hook Can be used to generate custom ids for documents within a collection ToDo - [x] CRUD - [x] Hooks - [x] Disconnect - [ ] Context - [ ] Transactions","default_branch":null,"files":null,"tree":[],"storefront":"/r/jensteichert","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jensteichert/colt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}