How to develop a productive HTTP client in Golang (Go)
Stop choosing between performant and testable HTTP clients. We’re building one from scratch!
Created by Federico Leon | 9.5 hours on-demand video course
Have you ever called a REST API from your Go program? Did you implemented your own HTTP client or did you ended up using some of the thousand libraries out there? Do you know what your HTTP client is doing in the background? In this course we’re starting from scratch! We’re going to remember how a basic HTTP call looks like by digging into the request & response objects. We’re going to write a basic HTTP client to perform HTTP requests and then use it in productive applications. What issues do we have? Can we scale our applications by following this approach? Of course not! That’s why we’re creating an HTTP client library.
What you’ll learn
- Understand the paradigms behind the Go programming language.
- What an HTTP client is.
- How to perform HTTP calls in Go.
- Issues and blocks when working with native HTTP client.
- How to design a Go library from scratch using Modules.
- How to design a public API: Interfaces and methods.
- How to provide mocking features out of the box.
- Unit, integration and functional testing our HTTP client.
- Most important: End up with a production-ready HTTP client that you can use without worrying about performance!
Recommended Course