Switch and defer statementsIn our previous learning, we have discussed functions and loops. Here we will be talking about switch and defer statements. Let's start with switch cases.. Switch statements are a way to compare multiple options and values together. They are similar ...Aug 23, 2024 · 3 min readoperationsguy.hashnode.dev
functions and loops in golangWe have already seen functions and used them, but let's just get a refresher of them quickly. package main import "fmt" func add(x, y int) (int, int) { return x + y, x - y } func main() { fmt.Println(add(2, 2)) } a function can take one ...May 1, 2024 · 3 min readoperationsguy.hashnode.dev
Variables in golangAs we have already said hello to the world, now we can start with our basic learning. In this blog, we will understand variables and many other things related to variables in Golang. I know we are all programmers and we already know what variables ar...Apr 3, 2024 · 4 min readoperationsguy.hashnode.dev
Saying Hello to the World with GolangIn this blog, we will Install Go (if you haven't already) Say Hello to the World Use Go commands to run our code Learn about packages and imports in Go Learn about exported names Install Go Use the Download and Install steps. Verify that you'v...Mar 10, 2024 · 3 min readoperationsguy.hashnode.dev
Why learn Go (Golang)?What is Golang? Go, commonly referred to as Golang, is a statically typed, compiled programming language designed by Google engineers Robert Griesemer, Rob Pike, and Ken Thompson. It was first released in 2009, and since then, it has gained immense p...Mar 10, 2024 · 3 min readoperationsguy.hashnode.dev