mirror of
https://gitea.com/action-examples/Go.git
synced 2026-03-27 08:30:06 +00:00
1ab24b1efd2e218e01a45e3cd879708ecbf04c31
- 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>
go
Gitea actions example for Golang. Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.
Languages
Makefile
65.3%
Go
20.7%
Dockerfile
14%