examples

command
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

TWF example

Example TWF usage. Contains simple login form and users pages (table and edit).

Usage

go run main.go -addr=":8081"

File structure

  • example_templates - directory with templates (quicktemplate)
    • custom_menu.qtpl - template file with custom menu
    • custom_menu.qtpl.go - generated template
    • generate.go - file with generate script
  • main.go - entrypoint
  • app.go - base app struct
  • index_page.go - / page
  • users_page.go - users pages (table and editing)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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