~yerinalexey/gobin

d1045d3de7ca240438c9b248bd9e3aad79cf2798 — Alexey Yerin 3 months ago e48ddad
Mention key=value connection strings
2 files changed, 10 insertions(+), 2 deletions(-)

M README.md
M config.example.toml
M README.md => README.md +5 -1
@@ 18,8 18,12 @@ edit to your liking. All fields are required.
```toml
# Postgres database URI to connect to
#
# Format as follows: postgres://<USER>[:PASSWORD]@<HOST>[:PORT]/<DB>
# Formats: https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-CONNSTRING
#
# Using a URI:
databaseUri = "postgres://postgres:qqqq@localhost/gobin"
# The same with keyword=value connection strings:
#databaseUri = "host=localhost user=postgres password=qqqq dbname=gobin"

# On which port the application runs
#

M config.example.toml => config.example.toml +5 -1
@@ 2,8 2,12 @@

# Postgres database URI to connect to
#
# Format as follows: postgres://<USER>[:PASSWORD]@<HOST>[:PORT]/<DB>
# Formats: https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-CONNSTRING
#
# Using a URI:
databaseUri = "postgres://postgres:qqqq@localhost/gobin"
# The same with keyword=value connection strings:
#databaseUri = "host=localhost user=postgres password=qqqq dbname=gobin"

# On which port the application runs
#