Reformat code
This commit is contained in:
parent
558e1e0493
commit
d79d3c88fd
8 changed files with 11 additions and 22 deletions
|
|
@ -213,10 +213,8 @@ func (s *StdNetBind) getMessages() *[]ipv6.Message {
|
|||
return s.msgsPool.Get().(*[]ipv6.Message)
|
||||
}
|
||||
|
||||
var (
|
||||
// If compilation fails here these are no longer the same underlying type.
|
||||
_ ipv6.Message = ipv4.Message{}
|
||||
)
|
||||
// If compilation fails here these are no longer the same underlying type.
|
||||
var _ ipv6.Message = ipv4.Message{}
|
||||
|
||||
type batchReader interface {
|
||||
ReadBatch([]ipv6.Message, int) (int, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue