This release includes the changes from the PR: #64 gomodifytags handles now the following cases:
- anonymous structs as function parameters
func test(arg struct {
Field int `json:"field"`
}) {
}
- "pointer to struct" type declaration
var x *struct {
Field int `json:"field"`
}
- "array of struct" type declaration
var x []struct {
Field int
}
and nested variants : "array of pointers to array of structs".