Commit Graph

57 Commits

Author SHA1 Message Date
hiifong
51f2cf57d3 Update README.md 2025-03-18 03:52:40 +00:00
hiifong
59693ffc5d feat: add get issue by index 2025-03-16 16:33:15 +08:00
hiifong
82b02fa9f1 feat: add server version 2025-03-16 15:22:57 +08:00
appleboy
c900e6b4c3 feat: add context management and cancellation handling in Execute function
- Import the `context` package
- Add context cancellation handling with log message and return in `Execute` function

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-16 14:20:55 +08:00
appleboy
c52f8649a2 refactor: add hot reloading and improve logging functions
- Add command to install `air` for hot reloading in `Makefile`
- Add `dev` command to run the application with hot reload in `Makefile`
- Add `vendor` command to tidy and verify module dependencies in `Makefile`
- Update log synchronization method to use `log.Default().Sync()` in `cmd/cmd.go`
- Change variadic parameter type from `interface{}` to `any` in logging functions
- Remove `Sync` function from `pkg/log/log.go`

ref: https://github.com/uber-go/zap/issues/880
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-16 14:18:58 +08:00
appleboy
051ce0bab4 chore: remove unused dependencies for project cleanup
- Remove `testify` dependency
- Remove `go-spew` indirect dependency
- Remove `go-difflib` indirect dependency
- Remove `yaml.v3` indirect dependency

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-16 13:57:53 +08:00
hiifong
2dd4aa94ad Initialize commit 2025-03-16 00:21:29 +08:00