aboutsummaryrefslogtreecommitdiff
path: root/api/internal/controllers/user.go
blob: 76dedc8b885640f13782d7f0e006567f33efecc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package controllers

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func GetUser(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{"message": "User found"})
}
func GetUserPreferences(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{"message": "Preferences fetched successfully"})
}

func UpdateUserPreferences(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{"message": "Preferences updated successfully"})
}