mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
*: add/fix godoc comments to satisfy golint
Fixes things like: * exported type/method/function X should have comment or be unexported * comment on exported type/method/function X should be of the form "X ..." (with optional leading article) Refs. #213.
This commit is contained in:
parent
de84e074a2
commit
a9b9c9226d
47 changed files with 89 additions and 20 deletions
|
@ -23,6 +23,7 @@ type TCPPeer struct {
|
|||
wg sync.WaitGroup
|
||||
}
|
||||
|
||||
// NewTCPPeer returns a TCPPeer structure based on the given connection.
|
||||
func NewTCPPeer(conn net.Conn) *TCPPeer {
|
||||
return &TCPPeer{
|
||||
conn: conn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue