controllers

package
v0.0.0-...-af1003a Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateJotDTO

type CreateJotDTO struct {
	Slug   string `json:"slug"`
	Body   string `json:"body"`
	Author string `json:"author"`
}

type JotController

type JotController struct {
	Repo *storage.JotRepository
}

func NewJotController

func NewJotController(repo *storage.JotRepository) *JotController

func (*JotController) Create

func (j *JotController) Create(c *fiber.Ctx) error

func (*JotController) GetAll

func (j *JotController) GetAll(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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