Help us shape the future of Go! Take the 2026 Go Developer Survey

html

package
v1.3.104-alpha1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package html example/http-server/html/html.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() embed.FS

FS returns embed.FS

func Homepage

func Homepage(w io.Writer, p HomepageParams) error

Homepage renders the homepage

Types

type HomepageParams

type HomepageParams struct {
	Title   string
	Message string
}

HomepageParams contains data to be shown on the homepage

Jump to

Keyboard shortcuts

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