mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -162,9 +162,9 @@ fn v_sqlite_file() !FrameworkBenchmarkResponse {
|
|||
// res := http.get(url) or { panic(err) }
|
||||
// framework_benchmark_response := json.decode(FrameworkBenchmarkResponse, res.body)!
|
||||
framework_benchmark_response := FrameworkBenchmarkResponse{
|
||||
insert: []
|
||||
insert: []
|
||||
@select: []
|
||||
update: []
|
||||
update: []
|
||||
}
|
||||
return framework_benchmark_response
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ pub fn (mut app App) sqlite_memory(count int) vweb.Result {
|
|||
} or { panic(err) }
|
||||
|
||||
task_model := Task{
|
||||
title: 'a'
|
||||
title: 'a'
|
||||
status: 'done'
|
||||
}
|
||||
|
||||
|
@ -93,9 +93,9 @@ pub fn (mut app App) sqlite_memory(count int) vweb.Result {
|
|||
} or { panic(err) }
|
||||
|
||||
response := Response{
|
||||
insert: insert_stopwatchs
|
||||
insert: insert_stopwatchs
|
||||
@select: select_stopwatchs
|
||||
update: update_stopwatchs
|
||||
update: update_stopwatchs
|
||||
}
|
||||
return app.json(response)
|
||||
}
|
||||
|
@ -103,9 +103,9 @@ pub fn (mut app App) sqlite_memory(count int) vweb.Result {
|
|||
@['/sqlite-file/:count']
|
||||
pub fn (mut app App) sqlite_file(count int) vweb.Result {
|
||||
response := Response{
|
||||
insert: []
|
||||
insert: []
|
||||
@select: []
|
||||
update: []
|
||||
update: []
|
||||
}
|
||||
return app.json(response)
|
||||
}
|
||||
|
@ -113,9 +113,9 @@ pub fn (mut app App) sqlite_file(count int) vweb.Result {
|
|||
@['/postgres/:count']
|
||||
pub fn (mut app App) postgres(count int) vweb.Result {
|
||||
response := Response{
|
||||
insert: []
|
||||
insert: []
|
||||
@select: []
|
||||
update: []
|
||||
update: []
|
||||
}
|
||||
return app.json(response)
|
||||
}
|
||||
|
@ -123,9 +123,9 @@ pub fn (mut app App) postgres(count int) vweb.Result {
|
|||
@['/mysql/:count']
|
||||
pub fn (mut app App) mysql(count int) vweb.Result {
|
||||
response := Response{
|
||||
insert: []
|
||||
insert: []
|
||||
@select: []
|
||||
update: []
|
||||
update: []
|
||||
}
|
||||
return app.json(response)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue