123456789101112131415161718 |
- package e00_basics
- import (
- "github.com/qor5/web"
- . "github.com/theplant/htmlgo"
- )
- func HelloWorld(ctx *web.EventContext) (pr web.PageResponse, err error) {
- pr.Body = H1("Hello World")
- return
- }
- var HelloWorldPB = web.Page(HelloWorld)
- const HelloWorldPath = "/samples/hello_world"
|