mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: combine simple attributes into a single line (#9120)
This commit is contained in:
@@ -78,8 +78,7 @@ pub fn (mut app App) user_repo_settings(username string, repository string) vweb
|
||||
return app.html('username: $username | repository: $repository')
|
||||
}
|
||||
|
||||
[post]
|
||||
['/json_echo']
|
||||
['/json_echo'; post]
|
||||
pub fn (mut app App) json_echo() vweb.Result {
|
||||
// eprintln('>>>>> received http request at /json_echo is: $app.req')
|
||||
app.set_content_type(app.req.headers['Content-Type'])
|
||||
|
||||
Reference in New Issue
Block a user