basic code setup

This commit is contained in:
nathan committed 2023-03-28 14:27:59 +11:00
1 parent 266d60efa6
commit 8dc02a98bd
7 files changed
+386

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package controllers
import (
"net/http"
"github.com/gin-gonic/gin"
)
func Register(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"data": "hello from controller!"})
}