Browse Source

Merge pull request #73 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
Alex Dadgar 5 years ago
parent
commit
df201c7041
1 changed files with 1 additions and 1 deletions
  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()
 }