mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
This commit is contained in:
parent
136193a3aa
commit
51aaf3c49f
4 changed files with 25 additions and 3 deletions
|
@ -9,7 +9,7 @@ struct PostTag {
|
|||
}
|
||||
|
||||
fn test_main() {
|
||||
new_post_tag := PostTag{}
|
||||
new_post_tag := &PostTag{}
|
||||
assert json.encode(new_post_tag) == '{"id":"","visibility":"","createdAt":"","metadata":""}'
|
||||
|
||||
new_post_tag2 := PostTag{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue