@@ -7,11 +7,11 @@ import (
77 "reflect"
88)
99
10- // Projection - Apply a 1-to-1 transformation on one or more properties,
10+ // Projection - Apply a 1-to-1 transformation on one or more properties,
1111// and either store the result as a new property down the pipeline, or
1212// replace any property using this transformation. Expression is an expression
13- // that can be used to perform arithmetic operations on numeric properties,
14- // or functions that can be applied on properties depending on their types,
13+ // that can be used to perform arithmetic operations on numeric properties,
14+ // or functions that can be applied on properties depending on their types,
1515// or any combination thereof.
1616type Projection struct {
1717 Expression string
@@ -71,7 +71,7 @@ func (c Cursor) Serialize() redis.Args {
7171 return args
7272}
7373
74- //GroupBy groups the results in the pipeline based on one or more properties.
74+ //GroupBy groups the results in the pipeline based on one or more properties.
7575//Each group should have at least one reducer, a function that handles the group
7676//entries, either counting them, or performing multiple aggregate operations.
7777type GroupBy struct {
@@ -108,7 +108,7 @@ func (g *GroupBy) Reduce(reducer Reducer) *GroupBy {
108108 return g
109109}
110110
111- // Limit adds Paging to the GroupBy object
111+ // Limit adds Paging to the GroupBy object
112112func (g * GroupBy ) Limit (offset int , num int ) * GroupBy {
113113 g .Paging = NewPaging (offset , num )
114114 return g
@@ -162,7 +162,7 @@ func (a *AggregateQuery) SetWithSchema(value bool) *AggregateQuery {
162162 return a
163163}
164164
165- // SetVerbatim - If set, we do not try to use stemming for query expansion but search
165+ // SetVerbatim - If set, we do not try to use stemming for query expansion but search
166166// the query terms verbatim.
167167func (a * AggregateQuery ) SetVerbatim (value bool ) * AggregateQuery {
168168 a .Verbatim = value
0 commit comments