File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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.
8485func (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.
9395func (r * Resultset ) ColumnNumber () int {
9496 if r == nil {
9597 return 0
You can’t perform that action at this time.
0 commit comments