Previously I wrote about creating a URL shortener using Node.js and N1QL, but I figured it would be useful to demonstrate the same in my other favorite programming language, Golang.
In this video tutorial we’ll see how to create a RESTful API for shortening, expanding, and navigating to short URLs. This is all created using the Go programming language, Couchbase Server, and N1QL for querying data.
This is an excellent guide for people who are not only new to Couchbase, but also new to Golang because it is a start to finish example.
If you need help installing Couchbase Server, there is an awesome video tutorial for each Mac, Windows, and Ubuntu Linux. Further information on the Couchbase Go SDK can be found in the Couchbase Developer Portal.