entries

package
v0.0.0-...-eddb447 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntryToPublic

func EntryToPublic(entry model.Entry, entriesURL *url.URL, runningTotal int) public.EntryData

func EntryToPublicList

func EntryToPublicList(entry model.Entry, entriesURL *url.URL, runningTotal int) public.EntryListItemData

func NewCreateEntryFailedError

func NewCreateEntryFailedError(status int, detail string) public.Error

func NewDeleteEntryFailedError

func NewDeleteEntryFailedError(status int, detail string) public.Error

func NewGetEntryFailed

func NewGetEntryFailed(status int, detail string) public.Error

func NewHandler

func NewHandler(db *gorm.DB, collection *url.URL) handler

func NewListEntryFailedError

func NewListEntryFailedError(status int, detail string) public.Error

func NewUpdateEntryFailed

func NewUpdateEntryFailed(status int, detail string) public.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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