Package pubsub provides an easy way to publish and receive Google Cloud Pub/Sub messages, hiding the details of the underlying server RPCs (Remote Procedure Calls). Google Cloud Pub/Sub is a many-to-many, asynchronous messaging system that decouples senders and receivers. Publishing Google Cloud Pub/Sub messages are published to topics. Topics may be created using the pubsub package like: topic, err … Continue reading Google Cloud Pub/Sub messages using Go package : pubsub
Introduction In Go, a build tag is an identifier added to a piece of code that determines when the file should be included in a package during the build process. Why Go build tags? Go does not have a preprocessor, a macro system, or a #define declaration to control the inclusion of platform-specific code. So … Continue reading Let’s build tags in go!!
In this article we will learn about reverse proxy, where to use it and how to implement it in Golang. A reverse proxy is a server that sits in front of web servers and forwards client (e.g. web browser) requests to web servers. They give you control over the request from clients and responses from … Continue reading The Right Use of ‘ReverseProxy’ in Golang