Closed D-sense closed 3 years ago
I think that's an anti-pattern, but look at this example that shows how it can be done:
https://play.golang.org/p/QNArOeqy94
Also, there is a package called retag
that could be useful for you:
https://pkg.go.dev/github.com/sevlyar/retag
I'm closing this issue as I don't think there is much to do here. Thank you.
Hi @fatih ,
Thanks for this amazing package. I believe this package may not offer exactly what I need, but I am wondering if it is possible to modify the value of a struct tag (not a struct field). Kindly take a look at the snippet below: