Go/router
appleboy 6edc3a2d12
chore: update Go version and add dependencies
- Update the Go version from `1.21.2` to `1.21`
- Add `github.com/stretchr/testify` as a required dependency
- Add `github.com/davecgh/go-spew` as an indirect dependency
- Add `github.com/pmezard/go-difflib` as an indirect dependency
- Add a new test file `router/router_test.go`
- Implement a test for the `PingRoute` function in `router/router_test.go`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-01-27 23:04:20 +08:00
..
router.go feat: add new router and ping route to main application 2024-01-27 23:02:26 +08:00
router_test.go chore: update Go version and add dependencies 2024-01-27 23:04:20 +08:00