zenfun
a61eff27e7
feat(admin/master): provider+master CRUD, token mgmt, logs APIs
2025-12-18 16:21:46 +08:00
zenfun
96e1fe41a5
feat(models): add kind and models_meta snapshot
2025-12-17 23:15:12 +08:00
zenfun
16fceec8e7
style(core): align struct tags and fields
...
Standardize alignment of struct tags in models and field assignments in
services for better readability. Additionally, include the Binding model
in the test database auto-migration.
2025-12-17 00:51:02 +08:00
zenfun
d0011f3eb2
test: add comprehensive unit tests for provider, middleware, and sync service
...
- Add TESTING.md documentation explaining unit test conventions and integration testing setup
- Add miniredis and sqlite dependencies to go.mod for in-memory testing
- Add provider_handler_test.go ensuring Vertex providers default google_location to "global"
- Add request_id_test.go verifying request ID generation and header preservation
- Add sync_test.go validating Redis snapshot writes and routing key generation
- Update README.md with testing section referencing new documentation
2025-12-14 00:35:35 +08:00