Getting Started with Go on IBM Cloud
$13.00
Minimum price
$16.00
Suggested price

Getting Started with Go on IBM Cloud

About the Book

The goal of this book is to provide an introduction to using the Go programming language (Golang) on the IBM Cloud. The same example application—a TodoBackend—is built using two different IBM Cloud offerings—IBM Cloud Foundry and IBM Cloud Functions—to see the differences between the two deployment options. IBM Cloud Foundry is IBM's offering of Cloud Foundry, an open source cloud application platform. IBM Cloud Functions is IBM's offering of Apache OpenWhisk, an open source, distributed serverless platform that executes functions in response to events at any scale.

About the Author

Table of Contents

  • Introduction
    • 1 Introduction to Cloud Computing
      • 1.1 What is Cloud Computing?
      • 1.2 Why Deploy in the Cloud?
      • 1.3 How Much Control?
      • 1.4 Everything Old is New Again
    • 2 Introducing the IBM Cloud
      • 2.1 IBM Cloud Overview
      • 2.2 IBM Cloud Compute & Cloud Offerings
      • 2.3 IBM Cloud Database & Storage Offerings
      • 2.4 IBM Cloud Offerings Used in This Book
      • 2.5 Equivalent Cloud Provider Offerings
    • 3 Get Going in Go
      • 3.1 Resources for Getting Started with Go
      • 3.2 Go for IBM Cloud Foundry
      • 3.3 Go for IBM Cloud Functions
    • 4 Project Application
      • 4.1 API
      • 4.2 Tests
      • 4.3 Database
      • 4.4 Authentication and Authorization
  • IBM Cloud Foundry
    • 5 Cloud Foundry Setup
      • 5.1 Initial Setup
      • 5.2 Application Architecture
      • 5.3 Setup Routes
      • 5.4 Setup Makefile
      • 5.5 First Deploy
      • 5.6 Cloudant Setup
      • 5.7 Backend Todo Tests
    • 6 Pre-Requisites
      • 6.1 Respond to GET
      • 6.2 Respond to POST
      • 6.3 Respond to DELETE
      • 6.4 Respond to GET with Empty Array After DELETE
    • 7 Storing New Todos
      • 7.1 Add a New Todo
      • 7.2 Initialize New Todos as Not Complete
      • 7.3 Provide URL for New Todos
      • 7.4 New Todo URL Returns a Todo
    • 8 Working with an Existing Todo
      • 8.1 Navigate from List of Todos to an Individual Todo
      • 8.2 Change a Todo’s Title
      • 8.3 Toggle a Todo’s Complete Status
      • 8.4 Persist Changes to a Todo
      • 8.5 Delete a Todo
    • 9 Tracking a Todo’s Order
      • 9.1 Include Order Field in Todo
      • 9.2 Change a Todo’s Order
      • 9.3 Persist Changes to a Todo’s Order
    • 10 Conclusion
  • IBM Cloud Functions
    • 11 Cloud Functions Setup
      • 11.1 Initial Setup
      • 11.2 Application Architecture
      • 11.3 Setup Routes
      • 11.4 Setup Makefile
      • 11.5 First Deploy
      • 11.6 Backend Todo Tests
    • 12 Pre-Requisites
      • 12.1 Respond to GET
      • 12.2 Respond to POST
      • 12.3 Respond to DELETE
      • 12.4 Respond to GET with Empty Array After DELETE
    • 13 Storing New Todos
      • 13.1 Add a New Todo
      • 13.2 Initialize New Todos as Not Complete
      • 13.3 Provide URL for New Todos
      • 13.4 New Todo URL Returns a Todo
    • 14 Working with an Existing Todo
      • 14.1 Navigate from List of Todos to an Individual Todo
      • 14.2 Change a Todo’s Title
      • 14.3 Toggle a Todo’s Complete Status
      • 14.4 Persist Changes to a Todo
      • 14.5 Delete a Todo
    • 15 Tracking a Todo’s Order
      • 15.1 Include Order Field in Todo
      • 15.2 Change a Todo’s Order
      • 15.3 Persist Changes to a Todo’s Order
    • 16 Conclusion
  • Notes

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub