profile

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Edit

func Edit(c *fiber.Ctx) error

func InitRoutes

func InitRoutes(app *fiber.App)

func View

func View(c *fiber.Ctx) error

Types

type EditForm

type EditForm struct {
	CurrentPassword    string `form:"current_password" validate:"required" transform:"trim"`
	NewPassword        string `form:"new_password" validate:"required,min=4" transform:"trim"`
	ConfirmNewPassword string `form:"confirm_new_password" validate:"required" transform:"trim"`
}

Jump to

Keyboard shortcuts

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