There are two files that deal with AdaptationFields:
packet/adaptionfield.go: This one feels like the "right" one to use.
packet/adaptationfield/adaptationfield.go: This one uses the older functional style.
I propose removing the packet/adaptationfield/adaptationfield.go file in favor of packet/adaptationfield.go as long as the functionality is the same and anything that is missing from packet/adaptationfield.go is filled in.
There are two files that deal with AdaptationFields:
I propose removing the
packet/adaptationfield/adaptationfield.go
file in favor ofpacket/adaptationfield.go
as long as the functionality is the same and anything that is missing frompacket/adaptationfield.go
is filled in.