Closed gedw99 closed 1 week ago
Hey @jibon57
Let me know if you would like help with this.
The code is very well written, so I thing we can quickly and easily make it DB agnostic.
If its something your not wanting to be done just let me know.
Hey - GORM will def do the trick and also likely work well with Protobuf non-SQL storage transactions too if you need them.
Any plans to abstract Redis too ? I suggested NATS.
SQLC supports mariadb, as well as SQLite.
https://github.com/sqlc-dev/sqlc/tree/main/examples/authors
https://github.com/mynaparrot/plugnmeet-protocol/blob/main/go.mod#L9 would also need to be adapted.
The same is true for Redis. NATS Jetstream is able to replace redid easily and can run embedded or non embedded or a DC cluster or a Global multi DC global cluster. Its all built in.