Articles by Deepak Prasad
PodDisruptionBudget in Action with Examples
PodDisruptionBudget ensures a certain number or percentage of Pods will not voluntarily be evicted from a node at any one point in time
How to store values in struct using for loop in GO
In this solution we will learn how to store the values into struct using for loop in golang
Golang return error and handle [Best Practices]
We can return errors in golanf func and then handle errors effectively using Casting Errors, Error wrapping mechanism, and Panic, defer and recover
Golang Escape Backslash [100% Working]
We can either use additional backslash to escape backslash or raw string literals to convert entire text to string.
How to parse multiple inputs from user in Golang
The following are functions used to read or parse users' inputs in Golang:- fmt.Scanln(), fmt.Scanf(), bufio.NewReader(). These functions can parse single or …
Golang remove duplicates from slice with Examples
remove duplicates in slice golang, find unique elements in array golang, golang count occurrences in slice, find duplicates in array golang, Remove duplcate …
How to Become a Mobile App Developer
The 21st century is the era of multifunctional gadgets. Today, it is difficult to find a person who uses a push-button telephone. Smartphones have long since
Golang time function - Learn the Basics in Detail
golang time now, format, duration, after, loadlocation, sleep, date function explained in detail with examples
Golang panic handing [capture, defer, recover, log]
We will cover the following scenarios in detail: How to capture a panic message FROM stderr to log file, Using defer with panic, Handling golang panics using …
Golang Buffered Channel Tutorial [Practical Examples]
A buffered channel is a type of channel that has storage capacity within. Create and handle deadlock scenario, create lock and unlock code with buffered channel …
Declare golang constant maps - is it possible? [SOLVED]
We can not declare constant maps directly in golang as other programming languages. In this tutorial we covered different workaround hacks to declare golang …
How to pass parameters to function in GO [SOLVED]
In this tutorial we covered different scenarios to pass parameters to golang function. Pass int, string, float as parameter or pass map and channel as parameter …
Golang cast to string from different data types [SOLVED]
golang cast to string by converting Int type to string, converting Interface type to string, converting Boolean type to string
Golang string to uint8 type casting [SOLVED]
We can use strconv.Atoi, fmt.Sscan, and strconv.ParseInt functions for golang string to uint8 type casting.
Why Application Support Services is Important
Information technology is currently at the center of driving business growth and performance hence the need to implement them. However, businesses may not
