gitea-sonarqube-bot/main.go
justusbunsi 99cd1366f8
Add development environment
- docker
 - golang

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-06-06 17:14:57 +02:00

19 lines
308 B
Go

package main
import (
"net/http"
"github.com/gin-gonic/gin"
)
func main() {
// gin.SetMode(gin.ReleaseMode)
server := gin.Default()
server.GET("/", func(ctx *gin.Context) {
ctx.JSON(http.StatusOK, gin.H{"data": "Hi! I'm the Gitea-SonarQube-PR bot. At your service."})
})
server.Run()
}