+ golang go printf pointer go - golang how to print struct value with pointer - Stack Overflow package 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 | tweet Add comment Do you want to delete? YesNo