Skip to content

Commit d680c42

Browse files
authored
net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477)
1 parent db8d251 commit d680c42

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎vlib/net/smtp/smtp.v‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ pub:
6161
}
6262

6363
pub struct Attachment {
64+
pub:
65+
cid string
6466
filename string
6567
bytes []u8
66-
cid string
6768
}
6869

6970
// new_client returns a new SMTP client and connects to it

0 commit comments

Comments
 (0)