completed

package
v4.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(readingRepository readingRepository, idxReader idxReader) *Controller

func (*Controller) Completed

func (c *Controller) Completed(ctx fiber.Ctx) error

Completed renders the list of documents completed by the user

func (*Controller) ToggleComplete

func (c *Controller) ToggleComplete(ctx fiber.Ctx) error

ToggleComplete marks a document as complete or incomplete. If a date is provided in the request body, it sets the completion date to that value. If no date is provided (POST), it toggles between complete (with current date) and incomplete.

Jump to

Keyboard shortcuts

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