Explorar el Código

Merge pull request #73 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
Alex Dadgar hace 5 años
padre
commit
df201c7041
Se han modificado 1 ficheros con 1 adiciones y 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()
 }