routes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(router *goal.Router)

func HandlePostIncompleteUser

func HandlePostIncompleteUser(c goal.CtxCUD[AgePath, IncompleteUser]) (int, models.User)

Types

type AgePath

type AgePath struct {
	Age int
}

type IncompleteUser

type IncompleteUser struct {
	FavouriteComic models.Comic
}

Ad-hoc request body type.

Jump to

Keyboard shortcuts

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