Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSubscriber ¶
curl -X POST https://localhost:8080/api/v1/newsletter/subscribe/ --data '{"email":"xyz@gmail.com"}' -kL | jq . Add subscriber to mailing list at /api/v1/newsletter/subscribe/
func GetPostsByTag ¶
GetPostsByTag is function for endpoint /posts/by-tag/:tag_name to get all posts with specified tag
func GetProjects ¶
GetProjects is function for endpoint /api/v1/projects to get all project
func GetSections ¶
GetSections is function for endpoint /api/v1/tags to get all sections by post_id
Types ¶
type EmailRequestBody ¶
type EmailRequestBody struct {
Email string
}
Click to show internal directories.
Click to hide internal directories.