1
0
Fork 0
Commit graph

19 Commits

Autor SHA1 Nachricht Datum
Sebastian Tobie f8a7689fea added the uuid type for conversion
i decided to use github.com/gofrs/uuid, since it implements uuidv7
2022-11-19 13:41:28 +01:00
Sebastian Tobie 1d647c7d00 Added better error handling 2022-11-19 11:28:27 +01:00
Sebastian Tobie 2326ceb32e fixed the SetupMigrator 2022-11-19 11:05:06 +01:00
Sebastian Tobie 8d9b870820 added a small helper function 2022-11-18 14:10:59 +01:00
Sebastian Tobie 0f9fded567 added a new sitetype for sites that need access to the pool outside of requests 2022-11-14 10:37:23 +01:00
Sebastian Tobie 3ead80fe16 splitted Middleware.Sites into PreSetupMiddleware.PreSetup and PostSetupMiddleware.PostSetup
this fixes the problem where dependency problems are fixed
2022-11-07 18:45:04 +01:00
Sebastian Tobie 03b6c3d059 upgrade pgx from v4 to v5 and tern to v2 2022-11-06 12:29:08 +01:00
Sebastian Tobie 487a8b4c64 changed logging to zerolog and raised the minimal go version to 1.19 2022-11-06 10:52:24 +01:00
Sebastian Tobie 5c33058038 updated documentation 2022-11-05 08:44:37 +01:00
Sebastian Tobie 9c6feec4ea replaced phuslu/log with zerolog 2022-11-05 08:29:17 +01:00
Sebastian Tobie 7d937967c4 revised the Interfaces.
The Middleware type can now fully used without porblems.
2021-11-11 23:06:48 +01:00
Sebastian Tobie 608bc051d2 fixed some pelling mistakes 2021-10-25 22:28:39 +02:00
Sebastian Tobie 7896a45398 the contextkey now refers now to the function for getting the database. 2021-02-28 14:01:31 +01:00
Sebastian Tobie 1f800c0089 cleaned the code a bit up 2021-02-27 14:04:35 +01:00
Sebastian Tobie d38cf41d23 added a check if the migrator fails 2021-02-27 14:03:20 +01:00
Sebastian Tobie b7b70afba4 added a workaround to use a embed.fs filesystem. 2021-02-27 11:54:10 +01:00
Sebastian Tobie e15e855531 sql gets unset in logging of the migrations 2021-02-27 09:40:54 +01:00
Sebastian Tobie ab82f41ec4 fixed the migrations 2021-02-27 09:34:19 +01:00
Sebastian Tobie 230314d53f the database middelware. 2021-02-27 00:38:06 +01:00