Adding initial scaffolding to rename the repository
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
c7472582a7
commit
0f880ac1fa
46 changed files with 5707 additions and 674 deletions
14
internal/api/status.go
Normal file
14
internal/api/status.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// GET /api/v1/status
|
||||
func GetStatus(router *gin.RouterGroup) {
|
||||
router.GET("/status", func(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, gin.H{"status": "operational"})
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue