Commit Graph

49 Commits

Author SHA1 Message Date
wpetit cd6857b8dd fix(cli/format): correctly display pointer values 2024-02-26 17:02:28 +01:00
wpetit 4a8add1d3d feat: add cli/format package 2023-12-15 20:01:37 +01:00
wpetit e40a8515cf feat: update dependencies 2023-11-19 20:52:38 +01:00
wpetit 4c72331a76 feat(logger): add capture func for errors 2023-10-19 21:20:40 +02:00
wpetit a94d9ed720 feat(api): add additional error codes 2023-04-19 10:21:46 +02:00
wpetit a1f09bafcc feat: simplify api error message 2023-02-27 17:28:55 +01:00
wpetit dec695f0e2 feat(api): use conventional data and error keys json casing 2023-02-06 09:56:56 +01:00
wpetit cc89f755cf chore: add agpl-3.0 licence 2021-06-15 14:43:57 +02:00
wpetit 6b52aae8f1 Merge branch 'plugin' 2021-06-15 12:24:09 +02:00
wpetit ad5c02bd80 Basic plugin system with centralized registry 2021-06-15 12:23:55 +02:00
wpetit 576d5f8548 fix: use new sink api for logger package 2021-03-29 12:06:50 +02:00
wpetit 1c740f8399 chore: update dependencies 2021-03-29 12:00:43 +02:00
wpetit fe90d81b5d chore: fix goweb tests 2020-11-16 19:12:29 +01:00
wpetit 9343970672 chore: fix cqrs tests 2020-11-16 19:12:13 +01:00
wpetit b73723b5f5 chore: ignore .vscode directory 2020-11-16 19:08:41 +01:00
wpetit 985ce3eba3 template/html: refactor template loading
Allow customization of the template loading process by providing a
Loader implementation.

Allow auto-reloading of templates in development mode.
2020-07-07 09:01:04 +02:00
wpetit f48503f2b6 Container: add WithContainer helper 2020-07-07 08:19:51 +02:00
wpetit 5d53e32316 CQRS: rename Bus to Dispatcher 2020-07-07 08:19:15 +02:00
wpetit 76dea96a46 cqrs: base package 2020-04-18 17:23:05 +02:00
wpetit 636b2dbf8f template service: add Render() method 2020-04-15 18:44:11 +02:00
wpetit 42aba649c8 logger: add With() shortcut alias 2020-03-17 14:10:25 +01:00
wpetit 67e87adf89 logger: add SetFormat function 2020-03-17 13:37:11 +01:00
wpetit 60d9fde890 logger: add log level aliases 2020-03-17 13:26:49 +01:00
wpetit bc82c8b59c logger: add missing slog shortcut aliases 2020-03-17 13:20:06 +01:00
wpetit 682d70ed30 Add simple logging package
Wrapper around github.com/cdr/slog
2020-03-17 13:14:53 +01:00
wpetit fa49bcf0c7 Remove scaffold command from repository 2020-03-17 13:08:40 +01:00
wpetit e4293b7b8b project layout - web: add server listening log message 2020-02-12 22:21:47 +01:00
wpetit 7a88321a69 Add basic scaffolding tool to generate new projects 2020-02-12 22:07:57 +01:00
wpetit 35bd6d65bb Add BuildInfo service and template data extension 2020-02-12 22:07:36 +01:00
wpetit 4d82e29793 Switch GenerateRandomBytes() method to public 2020-02-12 22:06:16 +01:00
wpetit b2a83e3022 Remove unnecessary line 2020-02-12 22:04:04 +01:00
wpetit 18f2ffaaa9 template: add layout loading API 2020-01-24 13:09:16 +01:00
wpetit bbcb571772 Migrate module to gitlab.com/wpetit 2019-07-28 13:11:23 +02:00
wpetit d95bbe0c1f Use Go modules 2019-07-28 13:01:27 +02:00
wpetit 35c763a6c6 Use store to define session default options 2019-05-13 09:09:28 +02:00
wpetit 7c00e0c8bf Add 'api' package to ease basic JSON API development 2018-12-28 11:45:30 +01:00
wpetit 6595e8cb89 Correction suppression de la session 2018-12-09 13:21:51 +01:00
wpetit b4e34ea817 Merge branch 'hotfix/typo' of bgaude/goweb into master 2018-12-07 22:07:02 +01:00
wpetit caeb968ebb Merge branch 'feature/gorilla-session-provider' of bgaude/goweb into master 2018-12-07 22:04:40 +01:00
Benjamin Gaudé 9d5a2b02cc Add gorilla session provider 2018-12-07 20:40:23 +01:00
Benjamin Gaudé 5b4cebf93b Fixe typo dans l'exemple 2018-12-07 20:30:04 +01:00
wpetit 38f4c7b735 Move Debug and ServiceContainer middlewares into their own packages
- Implements From/Must accessors to facilitate context values retrieval
2018-12-07 10:13:53 +01:00
wpetit a2b0ab6471 Add general usage example 2018-12-07 09:57:19 +01:00
wpetit 9b13461e93 Add html template service provider factory 2018-12-07 09:57:07 +01:00
wpetit bd676c234f Add usage example for the service container 2018-12-07 09:20:26 +01:00
wpetit 100cf83917 Fix TemplateService helpers initialization 2018-12-06 22:07:05 +01:00
wpetit d83508c769 Return http.HandlerFunc instead of http.Handler 2018-12-06 22:01:56 +01:00
wpetit d62b42ab97 Add cookie session store helper 2018-12-06 21:42:01 +01:00
wpetit 2cb1bf1881 Initial commit 2018-12-06 21:22:30 +01:00