book

package
v0.0.0-...-d43a523 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBook

func DeleteBook(c *fiber.Ctx)

DeleteBook ...

func GetBook

func GetBook(c *fiber.Ctx)

GetBook ...

func GetBooks

func GetBooks(c *fiber.Ctx)

GetBooks ...

func NewBook

func NewBook(c *fiber.Ctx)

NewBook ...

Types

type Book

type Book struct {
	gorm.Model
	Title  string `json:"title"`
	Author string `json:"author"`
	Rating int    `json:"rating"`
}

Book model

Jump to

Keyboard shortcuts

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