mirror of
https://github.com/LeRoid-hub/Bookholder-API.git
synced 2025-01-31 02:34:57 +00:00
32 lines
472 B
Go
32 lines
472 B
Go
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func getAccount(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{
|
|
"message": "getAccount",
|
|
})
|
|
}
|
|
|
|
func newAccount(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{
|
|
"message": "newAccount",
|
|
})
|
|
}
|
|
|
|
func updateAccount(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{
|
|
"message": "updateAccount",
|
|
})
|
|
}
|
|
|
|
func deleteAccount(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{
|
|
"message": "deleteAccount",
|
|
})
|
|
}
|