Go to file
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 chore: update Go version and add dependencies 2024-01-27 23:04:20 +08:00
.gitignore Initial commit 2024-01-27 14:49:10 +00:00
LICENSE Initial commit 2024-01-27 14:49:10 +00:00
README.md docs: update README.md with information about Gitea Actions 2024-01-27 22:57:42 +08:00
go.mod chore: update Go version and add dependencies 2024-01-27 23:04:20 +08:00
go.sum build: add Go module and basic HTTP server using gin-gonic/gin 2024-01-27 22:59:59 +08:00
main.go feat: add new router and ping route to main application 2024-01-27 23:02:26 +08:00

README.md

go

Gitea actions example for Golang. Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.