Provides a consistent, flexible & implementation agnostic Go API for working with different types of databases. By providing a single interface for different types of databases, Dalgo allows developers to write code that is agnostic to the underlying data store. This can help reduce development time and improve code maintainability, while also providing the flexibility to choose the data store that best suits their needs.
It includes an easy-to-use API for querying, inserting, updating, and deleting records, as well as features for handling errors and logging. It also supports transactions.
github.com/dal-go/dalgo
- core package. Go there for docs & more details. Consider giving it a ⭐ 😉.
github.com/dal-go/mocks4dalgo
- makes testing your code that uses Dalgo easier.
github.com/dal-go/dalgo2sql
- uses standard Godatabase/sql
package.github.com/dal-go/dalgo2firestore
- bridge to Google Firestore.github.com/dal-go/dalgo2datastore
- Google Cloud Datastore (App Engine).github.com/dal-go/dalgo2badger
- Badger is a DB written in Go that can persist to local storage.github.com/dal-go/dalgo2buntdb
- BuntDB is in-memory DB written in Go.
All qualified adapters are passing dalgo-end2end-tests
. If you developed an adapter and it passes the end-to-end tests it can be added here - please submit a PR.
Submit a PR for adding a link here if you use Dalgo in your open source project.