Преглед изворни кода

Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingo Bot <bot@codelingo.io>
CodeLingo Bot пре 6 година
родитељ
комит
19dc19e3b8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      addr.go

+ 1 - 1
addr.go

@@ -54,7 +54,7 @@ func (s *Stream) LocalAddr() net.Addr {
 	return s.session.LocalAddr()
 }
 
-// LocalAddr returns the remote address
+// RemoteAddr returns the remote address
 func (s *Stream) RemoteAddr() net.Addr {
 	return s.session.RemoteAddr()
 }