package api import ( "github.com/gin-gonic/gin" ) type scaleApi struct{} func ScaleApi() *scaleApi { return &scaleApi{} } func (scaleApi) Test(ctx *gin.Context) { ctx.JSON(200, gin.H{ "message": "drone-Test", }) return }