Explorar o código

Merge pull request #73 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
Alex Dadgar %!s(int64=5) %!d(string=hai) anos
pai
achega
df201c7041
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
 }