book

package
v0.0.0-...-fa30a46 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBooks

func DeleteBooks(c *fiber.Ctx)

func GetBook

func GetBook(c *fiber.Ctx)

func GetBooks

func GetBooks(c *fiber.Ctx)

func NewBooks

func NewBooks(c *fiber.Ctx)

func UpdateBooks

func UpdateBooks(c *fiber.Ctx)

Types

type Book

type Book struct {
	gorm.Model
	Title  string  `json:"title`
	Author string  `json:"author`
	Isbn   float64 `json:isbn`
}

Jump to

Keyboard shortcuts

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