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

#golang #go #learngo

Go Tutorial (Golang) 18 - tags in Golang | How To Use Struct Tags in Go
1.55 GEEK