mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
vfmt: automate transition from the old [attribute]
to the new @[attribute]
syntax (#19912)
This commit is contained in:
parent
157d603e5c
commit
f7b9e4eafd
17 changed files with 86 additions and 39 deletions
|
@ -4,8 +4,8 @@ struct PostTag {
|
|||
id string
|
||||
parent ?&PostTag
|
||||
visibility string
|
||||
created_at string [json: 'createdAt']
|
||||
metadata string [raw]
|
||||
created_at string @[json: 'createdAt']
|
||||
metadata string @[raw]
|
||||
}
|
||||
|
||||
fn test_main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue