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
Click to show internal directories.
Click to hide internal directories.