From f07177c762bfc4aab7d44a4b32432b8575007bec Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 19 Jan 2021 13:41:07 -0800 Subject: conn: remove _ method receiver Minor style fix. Signed-off-by: Josh Bleecher Snyder --- conn/conn_default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn/conn_default.go b/conn/conn_default.go index 8be3c9d..7bd05e9 100644 --- a/conn/conn_default.go +++ b/conn/conn_default.go @@ -37,7 +37,7 @@ func CreateEndpoint(s string) (Endpoint, error) { return (*NativeEndpoint)(addr), err } -func (_ *NativeEndpoint) ClearSrc() {} +func (*NativeEndpoint) ClearSrc() {} func (e *NativeEndpoint) DstIP() net.IP { return (*net.UDPAddr)(e).IP -- cgit v1.2.3