Go to file
appleboy 1ab24b1efd
feat: add new router and ping route to main application
- Remove the import statement for "github.com/gin-gonic/gin" in main.go
- Add a new file called router.go in the router directory
- Create a new function called New() in router.go that returns a *gin.Engine
- Add a GET route for "/ping" in the New() function in router.go

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-01-27 23:02:26 +08:00
router feat: add new router and ping route to main application 2024-01-27 23:02:26 +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 build: add Go module and basic HTTP server using gin-gonic/gin 2024-01-27 22:59:59 +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.