SRSahil Rathodinoperationsguy.hashnode.dev·Aug 23, 2024 · 3 min readSwitch 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 ...00
SRSahil Rathodinoperationsguy.hashnode.dev·May 1, 2024 · 3 min readfunctions 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 ...00
SRSahil Rathodinoperationsguy.hashnode.dev·Apr 3, 2024 · 4 min readVariables 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...00
SRSahil Rathodinoperationsguy.hashnode.dev·Mar 10, 2024 · 3 min readSaying 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...00
SRSahil Rathodinoperationsguy.hashnode.dev·Mar 10, 2024 · 3 min readWhy 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...00