Skip to content

Instantly share code, notes, and snippets.

View mattcunningham's full-sized avatar

Matthew Cunningham mattcunningham

View GitHub Profile
@drewolson
drewolson / reflection.go
Last active August 25, 2024 18:35
Golang Reflection Example
package main
import (
"fmt"
"reflect"
)
type Foo struct {
FirstName string `tag_name:"tag 1"`
LastName string `tag_name:"tag 2"`