In this blog, we are going to discuss the defer, panic and recovery statements and their role in error handling. We use defer to delay the execution of functions that might cause an
Go is fast, simple, maintainable, and easy to learn. Here are our best practices on Go while using and learning it.
While exploring golang multiple times, we came across the term ‘channels’. Also, in one of our recent blogs on asynchronous programming in Go, we showed the uses of channels to stimulate the async-await
Whenever we need to load lots of data stored on the backend, we split it into chunks and then load them one at a time through Pagination. Reasons why this approach is used:
Previously, We saw what error types are and how we can implement custom errors in go. Go also allows errors to wrap other errors, which can provide an additional context for error strings
Efficient error handling is essential to have in any software application which generally refers to responding to and recovering from error conditions in a program. In this and following posts, we will go
Memcached is a distributed memory-caching system. Caching returns faster results and also reduces the number of database queries required. As a memcached client we have used the gomemcache client, it has a variety
There is no Inheritance in Golang because it does not support classes. It supports composition. So by using composition we can simulate partial inheritance. Composition :Composition is simply putting things together. If object