collections

package
v0.0.0-...-861e6f3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookCollection

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

func NewBookCollection

func NewBookCollection(db *mongo.Database, collectionName string) *BookCollection

func (*BookCollection) DeleteBook

func (bc *BookCollection) DeleteBook(c *gin.Context)

func (*BookCollection) GetBooks

func (bc *BookCollection) GetBooks(c *gin.Context)

func (*BookCollection) GetSpecificBook

func (bc *BookCollection) GetSpecificBook(c *gin.Context)

func (*BookCollection) PostBook

func (bc *BookCollection) PostBook(c *gin.Context)

func (*BookCollection) UpdateBook

func (bc *BookCollection) UpdateBook(c *gin.Context)

Jump to

Keyboard shortcuts

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