1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: new string interpolation "hello {name}!"

This commit is contained in:
Alexander Medvednikov
2022-10-27 11:00:51 +03:00
parent e6fad82b87
commit 18c7da9a5e
26 changed files with 124 additions and 88 deletions

View File

@ -169,10 +169,10 @@ pub fn (mut ws WebhookServer) genhook() {
ws.gen_vc.generate()
// error in generate
if ws.gen_vc.gen_error {
ws.json('{status: "failed"}')
ws.json('{ status: "failed" }')
return
}
ws.json('{status: "ok"}')
ws.json('{ status: "ok" }')
}
pub fn (ws &WebhookServer) reset() {