Go struct tags are annotations that are shown after the type in a Go struct declaration. Golang tag for a field allows us to attach meta-information to the field which we can acquire using reflection

GitHub: https://github.com/gshanbhag525

#go #golang

Tags in Golang | How To Use Struct Tags in Go
8.45 GEEK