Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePost ¶
func CreatePost(w http.ResponseWriter, r *http.Request)
createPost create a post in postgres DB
func DeletePost ¶
func DeletePost(w http.ResponseWriter, r *http.Request)
func GetAllPosts ¶
func GetAllPosts(w http.ResponseWriter, r *http.Request)
GetAllUser will return all the users
func UpdatePost ¶
func UpdatePost(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.