v/vlib/v/checker/tests/vweb_tmpl_used_var.vv

16 lines
198 B
V

import vweb
struct App {
vweb.Context
}
pub fn (mut app App) index() vweb.Result {
test := 'test'
return $vweb.html()
}
fn main() {
mut app := App{}
vweb.run_app<App>(mut app, 8181)
}