summaryrefslogtreecommitdiffstats
path: root/internal/models/organisations.go
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-09 16:16:34 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-09 16:16:34 +0000
commitb8ed10b800d24a94bb6a9339d5764c6dbe7d9f6e (patch)
tree603865502278e453b1d67adcd2e04655c2894cc6 /internal/models/organisations.go
parented2cb5414da47a225fe2080a7cf4e3c685a129ec (diff)
Adds the database driver and opens database pool
Adds the new -dsn flag so that the user can pass any database into the program. Adds a new function that wraps sql.Open() to create the connection pool, and pings it to ensure it is alive.
Diffstat (limited to 'internal/models/organisations.go')
0 files changed, 0 insertions, 0 deletions