post

package
v0.0.0-...-49bf833 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostController

type PostController struct {
	// contains filtered or unexported fields
}

func NewPostController

func NewPostController(ds store.IStore) *PostController

func (*PostController) Create

func (ctrl *PostController) Create(c *gin.Context)

Create a new post

func (*PostController) Delete

func (ctrl *PostController) Delete(c *gin.Context)

func (*PostController) DeleteCollection

func (ctrl *PostController) DeleteCollection(c *gin.Context)

func (*PostController) Get

func (ctrl *PostController) Get(c *gin.Context)

func (*PostController) List

func (ctrl *PostController) List(c *gin.Context)

func (*PostController) Update

func (ctrl *PostController) Update(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL