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

cgen: zero_struct_field(); orm: zero un-inited fields

This commit is contained in:
Alexander Medvednikov
2020-06-24 12:53:36 +02:00
parent 5f36874c9b
commit cf7ac7be7f
3 changed files with 48 additions and 18 deletions

View File

@ -16,6 +16,7 @@ struct User {
age int
name string
is_customer bool
skipped_string string [skip]
}
fn test_orm_sqlite() {