Playground: Experiments with vlang.io to prepare for pre-production use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
355 B

module main
import vweb
pub struct Project {
vweb.Context
}
fn main() {
vweb.run<Project>(9080)
}
struct ExampleStruct {
example int
}
pub fn (mut app Project) request_raw_2() vweb.Result {
stuff := []ExampleStruct{}
return app.request_raw(stuff)
}
pub fn (mut app Project) request_raw(foo []ExampleStruct) vweb.Result {
return $vweb.html()
}