readme fix

This commit is contained in:
Michał Matczuk
2017-08-31 16:41:31 +02:00
parent 196bc4e87c
commit faa3a42062
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ type Person struct {
} }
} }
// Get first result into a struct. // Get the first result into a struct.
{ {
stmt, names := qb.Select("gocqlx_test.person"). stmt, names := qb.Select("gocqlx_test.person").
Where(qb.Eq("first_name")). Where(qb.Eq("first_name")).
@@ -67,7 +67,7 @@ type Person struct {
// {Patricia Citizen [patricia.citzen@gocqlx_test.com patricia1.citzen@gocqlx_test.com]} // {Patricia Citizen [patricia.citzen@gocqlx_test.com patricia1.citzen@gocqlx_test.com]}
} }
// Select, load all results into a slice. // Select, load all the results into a slice.
{ {
stmt, names := qb.Select("gocqlx_test.person"). stmt, names := qb.Select("gocqlx_test.person").
Where(qb.In("first_name")). Where(qb.In("first_name")).

View File

@@ -117,7 +117,7 @@ func TestExample(t *testing.T) {
} }
} }
// Get first result into a struct. // Get the first result into a struct.
{ {
stmt, names := qb.Select("gocqlx_test.person"). stmt, names := qb.Select("gocqlx_test.person").
Where(qb.Eq("first_name")). Where(qb.Eq("first_name")).
@@ -136,7 +136,7 @@ func TestExample(t *testing.T) {
// {Patricia Citizen [patricia.citzen@gocqlx_test.com patricia1.citzen@gocqlx_test.com]} // {Patricia Citizen [patricia.citzen@gocqlx_test.com patricia1.citzen@gocqlx_test.com]}
} }
// Select, load all results into a slice. // Select, load all the results into a slice.
{ {
stmt, names := qb.Select("gocqlx_test.person"). stmt, names := qb.Select("gocqlx_test.person").
Where(qb.In("first_name")). Where(qb.In("first_name")).