| 1 | module main |
| 2 | |
| 3 | import veb |
| 4 | |
| 5 | pub struct Context { |
| 6 | veb.Context |
| 7 | } |
| 8 | |
| 9 | pub struct Application {} |
| 10 | |
| 11 | pub fn (mut app Application) index() veb.Result { |
| 12 | return $veb.html('templates/template_keyword_ident_err.html') |
| 13 | } |
| 14 | |
| 15 | fn main() { |
| 16 | mut app := &Application{} |
| 17 | veb.run[Application, Context](mut app, 8080) |
| 18 | } |
| 19 |