Skip to Main Content
Level Up Your Web Apps With Go
book

Level Up Your Web Apps With Go

by Mal Curtis
April 2015
Intermediate to advanced content levelIntermediate to advanced
260 pages
5h 17m
English
SitePoint
Content preview from Level Up Your Web Apps With Go

Chapter 5Gophr Part 2: All About the Users

In this chapter we’re going to continue developing our new web app, Gophr. In the last chapter we set up the skeleton of our project, the folder structure, templates, assets, and middleware. Now we can attack the interesting stuff: how to handle users. As part of this we’ll cover what our users look like, including generating unique IDs. We’ll look at how to store user passwords and how to create a UserStore interface to both save and search for users.

This may sound like a small amount to be covering, but it isn’t as simple as it sounds. There are a few complexities to setting up a good system, such as how we store and authenticate passwords, so to start off we’ll stick to creating a simplified user ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Go: Building Web Applications

Go: Building Web Applications

Nathan Kozyra, Mat Ryer

Publisher Resources

ISBN: 9781457192845Errata Page