basic code setup

This commit is contained in:
2023-03-28 14:27:59 +11:00
parent 266d60efa6
commit 8dc02a98bd
7 changed files with 386 additions and 0 deletions

11
controllers/auth.go Normal file
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!"})
}