go-pingbot/website/routes/index.go
Medzik 13771d1394 v1.2.0
- database: added collection to var
- website: changed gin.G to json type
- api: status added cpu usage and move memory to stats
- go: upgrade deps
- update nodemon cfg and README
2021-07-22 08:23:49 +00:00

14 lines
170 B
Go

package routes
import (
"net/http"
"github.com/gin-gonic/gin"
)
func Index(c *gin.Context) {
c.JSON(http.StatusOK, map[string]interface{}{
"success": true,
})
}