From b39d571833b49667d6b0c3a35275099851c0aa38 Mon Sep 17 00:00:00 2001 From: kevindiu Date: Thu, 13 Aug 2020 15:43:19 +0900 Subject: [PATCH] add comment --- internal/net/net.go | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/internal/net/net.go b/internal/net/net.go index 85055b4b6ae..182d2881d8b 100644 --- a/internal/net/net.go +++ b/internal/net/net.go @@ -39,14 +39,24 @@ const ( ) type ( - Conn = net.Conn - Dialer = net.Dialer + // Conn is an alias of net.Conn + Conn = net.Conn + + // Dialer is an alias of net.Dialer + Dialer = net.Dialer + + // ListenConfig is an alias of net.ListenConfig ListenConfig = net.ListenConfig - Listener = net.Listener - Resolver = net.Resolver + + // Listener is an alias of net.Listener + Listener = net.Listener + + // Resolver is an alias of net.Resolver + Resolver = net.Resolver ) var ( + // DefaultResolver is an alias of net.DefaultResolver DefaultResolver = net.DefaultResolver )