Documentation ¶
Index ¶
- func CreatePost(w http.ResponseWriter, r *http.Request)
- func DeletePost(w http.ResponseWriter, r *http.Request)
- func GetAllPosts(w http.ResponseWriter, r *http.Request)
- func GetPost(w http.ResponseWriter, r *http.Request)
- func SetDB(db *sqlx.DB)
- func UpdatePost(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePost ¶
func CreatePost(w http.ResponseWriter, r *http.Request)
func DeletePost ¶
func DeletePost(w http.ResponseWriter, r *http.Request)
func GetAllPosts ¶
func GetAllPosts(w http.ResponseWriter, r *http.Request)
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.