提交图

9 次代码提交

作者 SHA1 备注 提交日期
f7ab09c2c3 Add Blog Posts CRUD with SQLite
- Add modernc.org/sqlite (pure Go, no CGO)
- Create models package with Post struct
- Implement SQLite connection and schema auto-creation
- Add CRUD methods to database package
- Create post handlers with JSON API
- Register API routes: GET/POST/PUT/DELETE /api/v1/posts
- Set default DBURL to file:./data.db with WAL mode
2025-12-27 12:43:30 +07:00
fb347b96df Replace zerolog with log/slog from stdlib
- Rewrite logger package to use slog with LevelVar for dynamic levels
- Update all packages to use *slog.Logger instead of *zerolog.Logger
- Use TextHandler for TTY (dev), JSONHandler for production
- Add make check target (runs lint + test)
- Add make test target
2025-12-27 12:02:05 +07:00
01073aca78 latest
一些检查失败了
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2023-01-30 00:15:38 -08:00
49709ad3d2 latest
一些检查失败了
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2023-01-28 19:05:02 -08:00
3f49d528e7 builds and runs! not sure if it works, needs testing
所有检查均成功
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-28 06:00:44 +01:00
46b67f8a6e more progress
一些检查失败了
continuous-integration/drone/push Build is failing
2022-11-28 05:33:52 +01:00
5fc22c36b0 getting closer
一些检查失败了
continuous-integration/drone/push Build is failing
2022-11-28 05:09:23 +01:00
75442d261d this is nowhere near working yet
一些检查失败了
continuous-integration/drone/push Build is failing
2022-11-28 04:59:20 +01:00
61228b4586 embed static files now (#14)
一些检查失败了
continuous-integration/drone/push Build is failing
Co-authored-by: sneak <sneak@sneak.berlin>
Reviewed-on: #14
2022-11-28 00:19:47 +00:00