소스 검색

Merge pull request #73 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
Alex Dadgar 5 년 전
부모
커밋
df201c7041
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()
 }