mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
orm fixes; glfw: remove C code
This commit is contained in:
@@ -81,6 +81,7 @@ pub fn run<T>(port int) {
|
||||
conn := l.accept() or {
|
||||
panic('accept() failed')
|
||||
}
|
||||
foobar<T>()
|
||||
// TODO move this to handle_conn<T>(conn, app)
|
||||
s := conn.read_line()
|
||||
if s == '' {
|
||||
@@ -159,6 +160,9 @@ pub fn run<T>(port int) {
|
||||
}
|
||||
|
||||
|
||||
pub fn foobar<T>() {
|
||||
}
|
||||
|
||||
fn (ctx mut Context) parse_form(s string) {
|
||||
if !(ctx.req.method in methods_with_form) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user