chore(deps): update auth middleware and dependencies

- Add OptionalSessionMiddleware for non-required auth checks
- Add GetUserID helper function
- Update import paths in auth and main
- Update docker-compose with frontend build configuration
- Clean up go.mod and go.sum

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Josh 2026-01-12 02:02:30 +02:00
parent 119e3b7a6d
commit ac04d7f346
6 changed files with 39 additions and 20 deletions

3
go.mod
View file

@ -1,4 +1,4 @@
module github.com/writekitapp/writekit
module writekit
go 1.24.0
@ -18,7 +18,6 @@ require (
github.com/jackc/pgx/v5 v5.7.1
github.com/yuin/goldmark v1.7.13
github.com/yuin/goldmark-emoji v1.0.6
github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc
golang.org/x/image v0.34.0
modernc.org/sqlite v1.34.0
)