pages

package
v0.0.0-...-bc9f1bc Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SongsRouter *hypergo.Router
View Source
var UsersRouter *hypergo.Router

Functions

func FavSongForm

func FavSongForm(rw *hypergo.RW) templ.Component

use a single instance of Validate, it caches struct info var validate *validator.Validate

func SetFavorite

func SetFavorite(rw *hypergo.RW) (templ.Component, error)

Types

type User

type User struct {
	FirstName string `validate:"required"`
	LastName  string `validate:"required"`
}

User contains user information

Jump to

Keyboard shortcuts

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