Subscribe and be notified whenever new books are published. View Sample Newsletter Or RSS Feed


Learning Go Web Development

By: Nathan Kozyra
Pages: 136
Publisher: Packt Publishing - ebooks Account
Publication Date: April 27, 2016

Key Features

  • Build a fully-featured REST API to enable client-side single page apps
  • Utilize TLS to build reliable and secure sites
  • A quick guide that provides everything a developer needs to know to build end-to-end web applications in Go

Book Description

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. It is a statically typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

Learning Go Web Development is a start-to-finish walkthrough of the topics most critical to anyone building a new web application. Whether it's keeping your application secure, connecting to your database, enabling token-based authentication, or utilizing logic-less templates, this book has you covered. You'll begin by learning about routing requests and implementing SSL. Moving on, you'll get to know about practices to keep users' data safe. By the end of the book, you will be able to build robust, secure, and fully-featured applications for the web.

What you will learn

  • Create a listening web server
  • Route requests
  • Implement SSL/TLS
  • Use Go's logic-less templates
  • Implement caching for maximum performance
  • Use sessions and cookies
  • Utilize security best practices to keep users and data safe
  • Connect to data sources
  • Create a RESTful API

About the Author

Nathan Kozyra is a seasoned web developer, with nearly two decades of professional software development experience. Since Go's initial release, he has been drawn to the language for its power, elegance, and usability.

He has a strong interest in web development, music production, and machine learning. He is married and has a two-year-old son.

Table of Contents

  1. Introducing and Setting Up Go
  2. Serving and Routing
  3. Connecting to Data
  4. Using Templates
  5. Frontend Integration with RESTful APIs
  6. Sessions and Cookies
  7. Microservices and Communication
  8. Logging and Testing
  9. Security
  10. Caching, Proxies, and Improved Performance