This is a implementation of dim, which is built in python. But this time in go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
624 B

# Set the address and port the server should listen for incoming requests.
listen = "localhost:8080"
# This section contains the database configuration.
[db]
# Type must be set to either 'mysql' or 'postgresql', so that the correct
# database driver is used.
type = "postgresql"
# Conn should contain the correct connection string to the database.
# For mysql, use the following as a template:
# conn = "user:password@tcp(localhost:5555)/dbname"
#
# For postgresql separate fields can be used, see
# https://pkg.go.dev/github.com/lib/pq#hdr-Connection_String_Parameters
# conn = "host=localhost user=dim password=foobar"