Documentation
¶
Overview ¶
Command hello is a minimal burrow application that serves a single "Hello, World!" page with Bootstrap styling and i18n support.
This example demonstrates the core concepts of a burrow app:
- Creating a server with contrib apps (i18n, staticfiles, bootstrap)
- Defining a custom app that provides routes, templates, and translations
- Using the Bootstrap layout for page rendering
- Configuring the CLI with urfave/cli for flags like --host, --port, etc.
Run it with:
go run ./example/hello
Then open http://localhost:8080 in your browser.
Click to show internal directories.
Click to hide internal directories.