Category "design-patterns"

How to pass context in golang request to middleware

I am trying to understand how the context introduced in Golang 1.7 works and what would be the appropriate way to pass it to middleware and to a HandlerFunc. Sh

What is the exact difference between Adapter and Proxy patterns?

As I understood both Adapter and Proxy patterns make two distinct/different classes/objects compatible with each for communication. And both of them are Structu

Asynchronous processing with fallback java

I am working on an java application that will makes calls to a web service, I dont want to incur additional latency while making these calls hence I am planning