gomodifytags icon indicating copy to clipboard operation
gomodifytags copied to clipboard

Feature Request: skip already ignored fields

Open botenvouwer opened this issue 1 year ago • 0 comments

When using structs in combination with various ORM's like GORM you'll end up having fields like: Customer and CustomerID. We ignore the Customer or the CustomerID based on what we would like to output. It would be nice to skip the fields that are explicitly set to be ignored like json:"-".

Implementing a regex would also be a fine solution: https://github.com/fatih/gomodifytags/issues/83

botenvouwer avatar Mar 29 '24 12:03 botenvouwer