group

command
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Example: groups, path params, static files, and template rendering.

This example reads ./views and ./static from the working directory, so run it from its own folder:

( cd examples/mod && go run . )

Try:

curl localhost:3000/demo/index
curl localhost:3000/demo/hello/httpsrv
curl localhost:3000/demo/hello/template
curl localhost:3000/static/text.txt

Jump to

Keyboard shortcuts

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