building http based clients in Go

Hypothetical Client: Runtime

Subtle design decision: Always specify your http client

Testing this implementation

  1. We specify the URL for the client explicitly.
  2. We allow the caller to specify an httpClient.

Conclusion

Footnotes

--

--

--

software engineer at auth0, writing code for humans, with humans.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Upbringo Off Campus Drive For App Development Intern | Across India | 2021

Configuring ZFS Event Daemon (ZED) on Ubuntu 16.04

Embedded Linux — Boot-time reduction

The Roadmap for Aspiring Programmers

12 Factor App

Future-proof your lazy loaded images

How to create a microservice with ASP.NET Core

GDGAhmedabad DevFest2017

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cyril David

Cyril David

software engineer at auth0, writing code for humans, with humans.

More from Medium

Generating JSON data from Go (Golang) structs with Go2JSON

Battle of Concurrency | Goroutines vs Threads.

Linked List in Golang

Linked List in Golang Implemetation

Golang Intellij Idea setup