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
|
@ -19,17 +19,17 @@ fn main() {
|
|||
subject := os.input('Subject: ')
|
||||
body := os.input('Body: ')
|
||||
client_cfg := smtp.Client{
|
||||
server: mailserver
|
||||
from: from
|
||||
port: mailport
|
||||
server: mailserver
|
||||
from: from
|
||||
port: mailport
|
||||
username: username
|
||||
password: password
|
||||
}
|
||||
send_cfg := smtp.Mail{
|
||||
to: to
|
||||
subject: subject
|
||||
to: to
|
||||
subject: subject
|
||||
body_type: .html
|
||||
body: body
|
||||
body: body
|
||||
}
|
||||
mut client := smtp.new_client(client_cfg) or { panic('Error with configuring smtp: ${err}') }
|
||||
client.send(send_cfg) or { panic('Error resolving email address: ${err}') }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue