pointer + golang go printf pointer go - golang how to print struct value with pointer - Stack Overflowpackage main import "fmt" type A struct { a int32 B *B } type B struct { b int32 } func main() { a := &A{ a: 1, B: &B{ b: 2, }, } ... wono | discuss | tweet
+ golang go printf pointer go - golang how to print struct value with pointer - Stack Overflowpackage main import "fmt" type A struct { a int32 B *B } type B struct { b int32 } func main() { a := &A{ a: 1, B: &B{ b: 2, }, } ... wono | discuss | tweet