diff options
Diffstat (limited to 'api/internal/controllers/user.go')
-rw-r--r-- | api/internal/controllers/user.go | 17 |
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 @@ | |||
1 | package controllers | ||
2 | |||
3 | import ( | ||
4 | "net/http" | ||
5 | "github.com/gin-gonic/gin" | ||
6 | ) | ||
7 | |||
8 | func GetUser(c *gin.Context) { | ||
9 | c.JSON(http.StatusOK, gin.H{"message": "User found"}) | ||
10 | } | ||
11 | func GetUserPreferences(c *gin.Context) { | ||
12 | c.JSON(http.StatusOK, gin.H{"message": "Preferences fetched successfully"}) | ||
13 | } | ||
14 | |||
15 | func UpdateUserPreferences(c *gin.Context) { | ||
16 | c.JSON(http.StatusOK, gin.H{"message": "Preferences updated successfully"}) | ||
17 | } \ No newline at end of file | ||