技术栈

父子引用

tekin
1 年前
开发语言·算法·golang·递归引用·childnode·父子引用
golang结构体struct递归引用异常解决办法: invalid recursive type: xxx refers to itself异常信息: person.go:13:6: invalid recursive type: Person refers to itself