Exploring Go’s Reflective Capabilities
In Go most of the type declaring variables, types and functions in Go is pretty straightforward. type Foo struct {
A int
B string
}

var x Foo

func DoSomething(f Foo) {
fmt.Println(f.a, f.B)
} We use types to represent the data structures. You might need to work with variables…
Exploring Go’s Reflective Capabilities In Go most of the type declaring variables, types and functions in Go is pretty straightforward. type Foo struct {
A int
B string
}

var x Foo

func DoSomething(f Foo) {
fmt.Println(f.a, f.B)
} We use types to represent the data structures. You might need to work with variables… dev-ops
Exploring Go’s Reflective Capabilities Go type declaring variable type function Go pretty straightforward type Foo struct int B string var x Foo func DoSomethingf Foo fmtPrintlnfa fB use type represent data structure might need work variables… devops