Skip to content

Commit 19dc19e

Browse files
committed
Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <[email protected]>
1 parent 2f1d1f2 commit 19dc19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (s *Stream) LocalAddr() net.Addr {
5454
return s.session.LocalAddr()
5555
}
5656

57-
// LocalAddr returns the remote address
57+
// RemoteAddr returns the remote address
5858
func (s *Stream) RemoteAddr() net.Addr {
5959
return s.session.RemoteAddr()
6060
}

0 commit comments

Comments
 (0)