O'Reilly logo

Go Standard Library Cookbook by Radomir Sohlich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

Verify if Go is properly installed by calling the go version command in your Terminal. If the command fails, do the following:

  • Pull the PostgreSQL driver by go get -u github.com/lib/pq
  • Install the PostgreSQL database server (optionally use a Docker image instead of installing to your host system)
  • We will use default user postgres with password postgres
  • Create a database named example

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required