N1QL Golang

Emilio,

There’s no API in go-couchbase to invoke N1QL at this time. However, N1QL can be invoked via REST API from any HTTP client, including Golang:

Querying via HTTP

HTTP Get

curl 'http://localhost:8093/query?q=URL_ENCODED_QUERY_STRING'

HTTP Post

curl -HContent-Type:text/plain -XPOST http://localhost:8093/query -d 'QUERY_STRING'

We have not yet announced a Beta or GA date, but sometime this year.