1
0
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:
Lukas Neubert
2021-03-05 06:17:57 +01:00
committed by GitHub
parent 208cabc994
commit 80356edd8c
6 changed files with 47 additions and 16 deletions

View File

@@ -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'])