feat: user CRUD

This commit is contained in:
2025-11-09 21:20:36 -07:00
parent afa91548e1
commit 5862378dc1
15 changed files with 399 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
package controllers
import (
"net/http"
"github.com/gin-gonic/gin"
)
func BaseFunction(context *gin.Context) {
user_profile, _ := context.Get("user_profile")
context.IndentedJSON(http.StatusOK, user_profile)
}
func PublicEndpoint(context *gin.Context) {
context.String(http.StatusOK, "Public endpoint for you to land at")
}