I am trying to use buffalo framework (Golang) with Mongodb Database as database.yml file as follows:
development: database: myproject_development user: mongodb password: mongodb host: 127.0.0.1 url: mongodb://127.0.0.1:27017
test: url: {{envOr "TEST_DATABASE_URL" "mongodb://mongodb:mongodb@127.0.0.1:27017"}}
production: url: {{envOr "DATABASE_URL" "mongodb://mongodb:mongodb@127.0.0.1:27017"}}
But getting error as
Error:
level=error msg="Error: unknown dialect "mongodb" expecting one of cockroach, mariadb, mysql, postgres"
Additional: And if you can add some links for the learning purpose of the same integration ,will be very helpful. Thanks in advance .