浏览代码

Typo and a grammatical mistakes corrected

Bartosz Burclaf 9 年之前
父节点
当前提交
07d943a9cb
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 1 3
      helpers.go
  2. 1 1
      session.go

+ 1 - 3
helpers.go

@@ -10,8 +10,6 @@ import (
 	"reflect"
 	"reflect"
 	"strings"
 	"strings"
 	"time"
 	"time"
-
-	"gopkg.in/inf.v0"
 )
 )
 
 
 type RowData struct {
 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
 // 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 {
 func (iter *Iter) MapScan(m map[string]interface{}) bool {
 	if iter.err != nil {
 	if iter.err != nil {
 		return false
 		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
 // 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.
 // will return unless there is only a single page returned.
 func (iter *Iter) NumRows() int {
 func (iter *Iter) NumRows() int {
 	return iter.numRows
 	return iter.numRows