Skip to main content
CF

Let's Go! Learn to Build Professional Web Applications With Golang [Professional Package]

0h 0m 0s
English
Paid

Go is a great language for building web applications. But teaching yourself from blog posts and the standard-library documentation can often leave you with more questions than answers.

You might be wondering:

  • Where can I see a concrete example of a real-world web application?
  • How is it best to structure and organize my code?
  • How do I make sure I’m not making any mistakes when it comes to security?
  • How do I use modules to manage and version control dependencies?
  • And how do I effectively test my web application?

Let’s Go answers these questions for you — and a whole lot more.

The book guides you through the start-to-finish build of a real-world application, so you'll gain all the knowledge, understanding and confidence you need to create production-ready applications with Go.

What You’ll Learn…

  1. All the fundamentals — How to start a server, create handlers, send responses, route requests and serve static files.
  2. Structure and organization — How to create an idiomatic and scalable structure for your web application.
  3. Using Modules — How to use Go's new Module functionality to manage and version control your dependencies.
  4. Managing configuration — How to use command-line flags and dependency injection to manage your application settings.
  5. Logging and Error Handling — How to implement leveled logging and centralized error handling.
  6. SQL databases — How to design a database model, set up a connection pool, and execute statements and queries.
  7. HTML templating — How to cache your templates, display dynamic data, create custom functions and handle runtime errors.
  8. Middleware — How to create your own middleware to perform common actions (like logging requests and recovering panics).
  9. RESTful routing — How to create a modern request routing structure that follows the principles of REST.
  10. Form validation — How to implement reusable and user-friendly pattern for validating forms and displaying errors.
  11. Session management — How to use and configure sessions to persist data between requests.
  12. Using HTTPS — How to correctly setup a HTTPS server and configure it for improved performance and security.
  13. Prevent common vulnerabilities — How to prevent SQL injection, CSRF, XSS, clickjacking and slow-client attacks.
  14. Authentication and authorization — How to safely encrypt user passwords and add signup, login and logout functionality.
  15. Request context — How to use Go's context.Context to pass data between your middleware and handlers.
  16. Testing — How to create unit tests, integration tests and end-to-end tests, mock dependencies and measure test coverage.
  17. And most importantly… How to put it together in a fully-functioning application!

Additional

Go 1.24 language updates

Section 13 ("Testing") has been updated to use the new slog.Discard handler, instead of a slog.TextHandler that writes to io.Discard.

Dependency updates

Other changes

Various broken link and typo fixes, and minor copy tweaks to improve clarity.

About the Author: Alex Edwards

Alex Edwards thumbnail

Alex Edwards is a UK-based software engineer and the author of Let's Go! and Let's Go Further — two of the most widely-recommended self-published books on building production web applications with Go using only the standard library and a minimal dependency footprint.

His CourseFlix listing carries Let's Go! Learn to Build Professional Web Applications With Go. The book / course is unusual for the depth it goes into the standard-library net/http patterns and the production concerns — security, deployment, observability — that most Go web tutorials skip in favour of framework-of-the-week content.

Material is paid and aimed at Go developers building production web services on the standard library rather than depending on heavy frameworks. For broader content, see CourseFlix's Golang category page.

Books

Read Book Let's Go! Learn to Build Professional Web Applications With Golang [Professional Package]

#TitleTypeOpen
1lets-go-professional-package-v2.24.0 PDF

Related courses

Frequently asked questions

What is Let's Go! Learn to Build Professional Web Applications With Golang [Professional Package] about?
Go is a great language for building web applications. But teaching yourself from blog posts and the standard-library documentation can often leave you with more questions than answers.
Who teaches this course?
It is taught by Alex Edwards. You can find more courses by this instructor on the corresponding source page.
How long is the course?
It is delivered as a self-paced online course on CourseFlix.
Is it free to watch?
It is part of CourseFlix's premium catalog. A subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch it online?
The course is available to watch online on CourseFlix at https://courseflix.net/course/let-s-go-learn-to-build-professional-web-applications-with-golang-professional-package. The page hosts every lesson with the integrated video player; no download is required.