O'Reilly logo

Level Up Your Web Apps With Go by Mal Curtis

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

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 ...

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