goflow
goflow copied to clipboard
sflow decode record ipv4 and ipv6 data will cause binary.Read: invalid type *sflow.SampledIP_Base
as i say, I use golang 1.21, when i decode ipv4 data binary.Read: invalid type *sflow.SampledIP_Base apper. i found when binary.Read decode into a struct and the struct have a slice ,the err occur