Skip to content

Commit f69f93c

Browse files
committed
Fixes for wsl linter after merge prs
1 parent 748e1df commit f69f93c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rcon.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type Conn struct {
9696
settings Settings
9797
}
9898

99-
// open creates a new Conn from an existing net.Conn and authenticates it
99+
// open creates a new Conn from an existing net.Conn and authenticates it.
100100
func open(conn net.Conn, password string, settings Settings) (*Conn, error) {
101101
client := Conn{conn: conn, settings: settings}
102102

@@ -112,12 +112,13 @@ func open(conn net.Conn, password string, settings Settings) (*Conn, error) {
112112
return &client, nil
113113
}
114114

115-
// Open creates a new authorized Conn from an existing net.Conn
115+
// Open creates a new authorized Conn from an existing net.Conn.
116116
func Open(conn net.Conn, password string, options ...Option) (*Conn, error) {
117117
settings := DefaultSettings
118118
for _, option := range options {
119119
option(&settings)
120120
}
121+
121122
return open(conn, password, settings)
122123
}
123124

0 commit comments

Comments
 (0)