Skip to content

Commit 3863480

Browse files
author
phuonghn
committed
add log
1 parent 622f522 commit 3863480

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bsonTypes.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func detectDateComparisonOperator(field string, values []string) bson.M {
4545

4646
value := values[0]
4747
var oper string
48-
fmt.Printf("fffffffffffffffffffff value: %v", value)
48+
fmt.Printf("fffffffffffffffffffff value: %v\n", value)
4949
// check if string value is long enough for a 2 char prefix
5050
if len(value) >= 3 {
5151
var uv string
@@ -132,7 +132,7 @@ func detectDateComparisonOperator(field string, values []string) bson.M {
132132
}
133133

134134
func detectNumericComparisonOperator(field string, values []string, numericType string) bson.M {
135-
fmt.Printf("fffffffffffffffffffff values: %v", values)
135+
fmt.Printf("fffffffffffffffffffff values: %v\n", values)
136136
if len(values) == 0 {
137137
return nil
138138
}
@@ -189,7 +189,7 @@ func detectNumericComparisonOperator(field string, values []string, numericType
189189

190190
var oper string
191191
value := values[0]
192-
fmt.Printf("fffffffffffffffffffff value: %v", value)
192+
fmt.Printf("fffffffffffffffffffff value: %v\n", value)
193193
// check if string value is long enough for a 2 char prefix
194194
if len(value) >= 3 {
195195
var uv string
@@ -294,7 +294,7 @@ func detectNumericComparisonOperator(field string, values []string, numericType
294294
}
295295

296296
func detectStringComparisonOperator(field string, values []string, bsonType string) bson.M {
297-
fmt.Printf("fffffffffffffffffffff values: %v", values)
297+
fmt.Printf("fffffffffffffffffffff values: %v\n", values)
298298
if len(values) == 0 {
299299
return nil
300300
}
@@ -352,7 +352,7 @@ func detectStringComparisonOperator(field string, values []string, bsonType stri
352352

353353
// single value
354354
value := values[0]
355-
fmt.Printf("fffffffffffffffffffff value: %v", value)
355+
fmt.Printf("fffffffffffffffffffff value: %v\n", value)
356356
// ensure we have a word/value to filter with
357357
if !reWord.MatchString(value) {
358358
return nil

0 commit comments

Comments
 (0)