Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2020-11-04 | 559 Bytes | |
v1.13.0.tar.gz | 2020-11-04 | 20.9 kB | |
v1.13.0.zip | 2020-11-04 | 60.8 kB | |
Totals: 3 Items | 82.3 kB | 0 |
This release includes the changes from the PR: https://github.com/fatih/gomodifytags/pull/64 gomodifytags handles now the following cases:
-
anonymous structs as function parameters
:::go func test(arg struct { Field int
json:"field"
}) { } -
"pointer to struct" type declaration
:::go var x *struct { Field int
json:"field"
} -
"array of struct" type declaration
:::go var x []struct { Field int }
and nested variants : "array of pointers to array of structs".