Skip to content

Commit 0914121

Browse files
committed
Fix comments
1 parent a37e609 commit 0914121

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

mysql/resultset.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,19 @@ func (r *Resultset) Reset(fieldsCount int) {
7979
}
8080
}
8181

82-
// RowNumber is returning the number of rows in the Resultset
83-
// For a nil ResultSet 0 is returned
82+
// RowNumber is returning the number of rows in the [Resultset].
83+
//
84+
// For a nil [Resultset] 0 is returned.
8485
func (r *Resultset) RowNumber() int {
8586
if r == nil {
8687
return 0
8788
}
8889
return len(r.Values)
8990
}
9091

91-
// ColumnNumber is returning the number of fields in the Resultset
92-
// For a nil ResultSet 0 is returned
92+
// ColumnNumber is returning the number of fields in the [Resultset].
93+
//
94+
// For a nil [Resultset] 0 is returned.
9395
func (r *Resultset) ColumnNumber() int {
9496
if r == nil {
9597
return 0

0 commit comments

Comments
 (0)