Chore: fix lint

This commit is contained in:
xjasonlyu
2022-02-01 17:30:34 +08:00
parent 13b5cc71d7
commit faed47da40

View File

@@ -12,8 +12,10 @@ import (
"gvisor.dev/gvisor/pkg/tcpip/stack"
)
var _ stack.LinkEndpoint = (*Endpoint)(nil)
var _ stack.GSOEndpoint = (*Endpoint)(nil)
var (
_ stack.LinkEndpoint = (*Endpoint)(nil)
_ stack.GSOEndpoint = (*Endpoint)(nil)
)
// Endpoint implements the interface of stack.LinkEndpoint from io.ReadWriter.
type Endpoint struct {