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
Let’s build tags in go!!
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!!
Server side sorting and pagination using react-query and react-bootstrap-table-next (best practice)
In this blog, I will cover server side sorting and pagination using react-query and react-bootstrap-table-next. Generally, I prefer to use useQuery to get the data from the server, React Query manages query caching based on query keys. Query keys can be as simple as a string, or as complex as an array of many strings and nested objects. … Continue reading Server side sorting and pagination using react-query and react-bootstrap-table-next (best practice)