thrift-iterator / go

decode/encode thrift message without IDL
Apache License 2.0
266 stars 31 forks source link

panic:when nested struct #23

Open SevenHe opened 3 years ago

SevenHe commented 3 years ago
type A struct {
  Member *B
}

type B struct {
  NextA map[string]*A
}

Use any A obj, thrifter.Marshal would run out of memory.