Working with Firebase using zabawaba99/firego
Firebase is another Google cloud service that creates a scalable, easy-to-manage database that can support authentication and works especially well with mobile applications. The service provides significantly more than what will be covered in this recipe, but we will look at storing data, reading it, modifying it, and restoring it. We'll also look into how to set up authentication for your application and wrap the Firebase client with our own custom client.
Getting ready
Configure your environment according to these steps:
- Download and install Go on your operating system from https://golang.org/doc/installand and configure your
GOPATH
environment variable. - Open a terminal/console application.
- Navigate to your
GOPATH/src
and create a project directory, for example,$GOPATH/src/github.com/yourusername/customrepo
. All code will be run and modified from this directory. - Optionally, install the latest tested version of the code using the
go get github.com...