Jelajahi Sumber

Typo and a grammatical mistakes corrected

Bartosz Burclaf 9 tahun lalu
induk
melakukan
07d943a9cb
2 mengubah file dengan 2 tambahan dan 4 penghapusan
  1. 1 3
      helpers.go
  2. 1 1
      session.go

+ 1 - 3
helpers.go

@@ -10,8 +10,6 @@ import (
 	"reflect"
 	"strings"
 	"time"
-
-	"gopkg.in/inf.v0"
 )
 
 type RowData struct {
@@ -247,7 +245,7 @@ func (iter *Iter) SliceMap() ([]map[string]interface{}, error) {
 }
 
 // MapScan takes a map[string]interface{} and populates it with a row
-// That is returned from cassandra.
+// that is returned from cassandra.
 func (iter *Iter) MapScan(m map[string]interface{}) bool {
 	if iter.err != nil {
 		return false

+ 1 - 1
session.go

@@ -1141,7 +1141,7 @@ func (iter *Iter) PageState() []byte {
 }
 
 // NumRows returns the number of rows in this pagination, it will update when new
-// pages are fetcehd, it is not the value of the total number of rows this iter
+// pages are fetched, it is not the value of the total number of rows this iter
 // will return unless there is only a single page returned.
 func (iter *Iter) NumRows() int {
 	return iter.numRows