package
0.0.0-20240923174224-aec23718f991
Repository: https://github.com/nctto/syntax-error.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CreatePost godoc @Summary Create a new post @Schemes @Description Create a new post with the given title, content, link and tags @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts [post].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Delete godoc @Summary Delete a post @Schemes @Description Delete a post with the given ID @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts/:id [delete].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPostByID godoc @Summary Get a post by ID @Schemes @Description Get a post by ID @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts/:id [get].
No description provided by the author
GetPostByID godoc @Summary Get a post by ID @Schemes @Description Get a post by ID @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts/:id [get].
No description provided by the author
No description provided by the author
Random godoc @Summary Get a random post @Schemes @Description Delete a post with the given ID @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts [get].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdatePost godoc @Summary Update a post @Schemes @Description Update a post with the given title, content, link and tags @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts/:id [put].
UploadFile godoc @Summary Upload a file @Schemes @Description Upload a file @Tags posts @Accept json @Produce json @Success 200 {object} Post @Router /posts [post].

# Structs

No description provided by the author
Post
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author