vxx2 / vlib / v / checker / tests / template_keyword_ident_err.vv
18 lines · 13 sloc · 292 bytes · 07ee934f822c7a2980e0dc31ca635a6c734dcbca
Raw
1module main
2
3import veb
4
5pub struct Context {
6 veb.Context
7}
8
9pub struct Application {}
10
11pub fn (mut app Application) index() veb.Result {
12 return $veb.html('templates/template_keyword_ident_err.html')
13}
14
15fn main() {
16 mut app := &Application{}
17 veb.run[Application, Context](mut app, 8080)
18}
19