Documentation ¶
Index ¶
- func CreateComment(c *gin.Context)
- func CreatePost(c *gin.Context)
- func FetchPosts(c *gin.Context)
- func Index(c *gin.Context)
- func RegisterEndpoint(c *gin.Context)
- func SearchAllPost(c *gin.Context)
- func UpdatePost(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type CommentRequest
- type PostRequest
- type RegisterRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComment ¶
func CreatePost ¶
func FetchPosts ¶
func RegisterEndpoint ¶
func SearchAllPost ¶
func UpdatePost ¶
func UpdateUser ¶
Types ¶
type CommentRequest ¶
type CommentRequest struct {
Content string `json:"content"`
}
type PostRequest ¶
type RegisterRequest ¶
Click to show internal directories.
Click to hide internal directories.