blob: 1f3f813a5ad94eab68e8225000f34a4b8c410e9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package controllers
import (
"net/http"
"github.com/gin-gonic/gin"
)
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"})
}
|