PinnedSaman YousefisohiExposing gRPC application on GKE through Global External Gateway and Google Cloud Load BalancingDeploying a gRPC backend on Google Kubernetes Engine (GKE) using the Gateway API and Google Cloud Load Balancing offers a modern, scalable…Aug 8Aug 8
Saman YousefisohiHow to limit the number of simoultanously running goroutines?IntroductionApr 271Apr 271
Saman YousefisohiHow to use generics in structs and interfaces in Golang?Golang 1.18 introduced support for generics, allowing developers to write code that is independent of specific types. This means that…May 21, 20231May 21, 20231
Saman YousefisohiHow do you find the type of an object in Go?There are different ways to find the type of an object in Go, depending on your use case. Some of the common methods are:May 15, 2023May 15, 2023
Saman YousefisohiHow to send JSON in a HTTP Post request in Go?To send JSON in an HTTP POST request in Go, you can follow these steps:May 15, 2023May 15, 2023
Saman YousefisohiHow to get current working directory path in Golang?In order to get current working directory in Go, you can use the os package to get the current working directory path. Here's an example:May 14, 2023May 14, 2023
Saman YousefisohiHow to write a simple UDP server in GoUDP (User Datagram Protocol) is a simple protocol used for sending datagrams over an IP network. Broadcasting is a method of sending a…Apr 29, 2023Apr 29, 2023
Saman YousefisohiWhat is the difference between pointer receiver and value receiver in Go(lang)?In Go, a receiver is a parameter of a method that specifies which struct or type the method operates on. A receiver can be either a value…Apr 23, 2023Apr 23, 2023