Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
All excellent things are as difficult as they are rare.

Dana Banana fishparmak

💭
All excellent things are as difficult as they are rare.
View GitHub Profile
@drewolson
drewolson / reflection.go
Last active Feb 22, 2021
Golang Reflection Example
View reflection.go
package main
import (
"fmt"
"reflect"
)
type Foo struct {
FirstName string `tag_name:"tag 1"`
LastName string `tag_name:"tag 2"`