mirror of
https://github.com/vlang/v.git
synced 2025-09-17 00:12:26 +03:00
examples: fix maps warnings
This commit is contained in:
parent
be141d9c5f
commit
49205dcce3
4 changed files with 8 additions and 8 deletions
|
@ -119,7 +119,7 @@ pub fn run<T>(port int) {
|
|||
action = 'index'
|
||||
}
|
||||
req := http.Request{
|
||||
headers: map[string]string{}
|
||||
headers: map[string]string
|
||||
headers2: headers
|
||||
ws_func: 0
|
||||
user_ptr: 0
|
||||
|
@ -131,9 +131,9 @@ pub fn run<T>(port int) {
|
|||
app.vweb = Context{
|
||||
req: req
|
||||
conn: conn
|
||||
form: map[string]string{}
|
||||
static_files: map[string]string{}
|
||||
static_mime_types: map[string]string{}
|
||||
form: map[string]string
|
||||
static_files: map[string]string
|
||||
static_mime_types: map[string]string
|
||||
}
|
||||
//}
|
||||
if req.method in methods_with_form {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue