You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/04/26 00:02:29 UTC

calcite-avatica-go git commit: Fix highlights

Repository: calcite-avatica-go
Updated Branches:
  refs/heads/master 7bcee26b3 -> 7227ba693


Fix highlights


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/7227ba69
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/7227ba69
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/7227ba69

Branch: refs/heads/master
Commit: 7227ba69358ce2446e4700b1f8ae4b4f41c13e1f
Parents: 7bcee26
Author: Francis Chuang <fr...@apache.org>
Authored: Thu Apr 26 10:02:21 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Thu Apr 26 10:02:21 2018 +1000

----------------------------------------------------------------------
 site/_docs/go_client_reference.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/7227ba69/site/_docs/go_client_reference.md
----------------------------------------------------------------------
diff --git a/site/_docs/go_client_reference.md b/site/_docs/go_client_reference.md
index 9f7e31e..e2eefea 100644
--- a/site/_docs/go_client_reference.md
+++ b/site/_docs/go_client_reference.md
@@ -46,7 +46,7 @@ $ dep ensure -add github.com/apache/calcite-avatica-go
 The Avatica Go driver implements Go's `database/sql/driver` interface, so, import Go's
 `database/sql` package and the driver:
 
-{% highlight go %}
+{% highlight %}
 import "database/sql"
 import _ "github.com/apache/calcite-avatica-go"
 
@@ -55,7 +55,7 @@ db, err := sql.Open("avatica", "http://localhost:8765")
 
 Then simply use the database connection to query some data, for example:
 
-{% highlight go %}
+{% highlight %}
 rows := db.Query("SELECT COUNT(*) FROM test")
 {% endhighlight %}
 
@@ -183,7 +183,7 @@ you want to take specific action when a particular type of error occurs.
 If the error returned is a ResponseError, calling the `Name()` method on the error will return the appropriate
 Apache Phoenix error code:
 
-{% highlight go %}
+{% highlight %}
 _, err := db.Exec("SELECT * FROM table_that_does_not_exist") // Query undefined table
 
 // First, assert the error type