How to use a field of struct or variable value as template name? How to use a field of struct or variable value as template name? go go

How to use a field of struct or variable value as template name?