Skip to content

Commit 5e155ba

Browse files
committed
Finesse the docs.
1 parent 65a9e6e commit 5e155ba

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contracts.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,20 @@ type (
3636
// This means that the ';' character should NOT be used within any of the statements.
3737
Statements() string
3838

39-
// Parameters returns a slice of the parameters to be interleaved across all sql returns by Statements().
39+
// Parameters returns a slice of the parameters to be interleaved across all SQL
40+
// returned from Statements().
4041
Parameters() []any
4142
}
4243

43-
// RowsAffected provides an (optional) hook for a type implemented Script to receive
44+
// RowsAffected provides an (optional) hook for a type implementing Script to receive
4445
// the number of rows affected by executing a statement provided by a Script. It is
4546
// called for each statement that doesn't result in an error.
4647
RowsAffected interface {
4748
RowsAffected(uint64)
4849
}
4950

5051
// Query represents a SQL statement that is expected to provide rows as a result.
51-
// Rows are fed to the Scan method.
52+
// Rows are provided to the Scan method.
5253
Query interface {
5354
// Statement returns a string containing a single SQL query.
5455
Statement() string

0 commit comments

Comments
 (0)