aboutsummaryrefslogtreecommitdiff
path: root/api/internal/controllers/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/internal/controllers/user.go')
-rw-r--r--api/internal/controllers/user.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/api/internal/controllers/user.go b/api/internal/controllers/user.go
new file mode 100644
index 0000000..1f3f813
--- /dev/null
+++ b/api/internal/controllers/user.go
@@ -0,0 +1,17 @@
1package controllers
2
3import (
4 "net/http"
5 "github.com/gin-gonic/gin"
6)
7
8func GetUser(c *gin.Context) {
9 c.JSON(http.StatusOK, gin.H{"message": "User found"})
10}
11func GetUserPreferences(c *gin.Context) {
12 c.JSON(http.StatusOK, gin.H{"message": "Preferences fetched successfully"})
13}
14
15func UpdateUserPreferences(c *gin.Context) {
16 c.JSON(http.StatusOK, gin.H{"message": "Preferences updated successfully"})
17} \ No newline at end of file