In Go, there are several ways to allocate and initialize memory. Pre-requisite: undertsand types in Go var Declaration When you declare a variable using var: var x int var s string var m map[string]int var sl []int * The variable is zero-valued (0 for numeric types, "" for
Primitive Types Primitive types (also called basic types) are the simplest, fundamental data types that aren't composed of other types: * Numeric types: * Integers: int, int8, int16, int32, int64, uint, uint8, etc. * Floating-point: float32, float64 * Complex: complex64, complex128 * Boolean type: bool * String type: string These types store their values
A concept that serves as both a negotiation tool and a practical decision-making framework, on efficiency of an algorithm that suits the needs of current problem. Big O just tells how slower my program is going to be as the input size increases. So technically, It doesn't dictate
In my current organization, I wrote a helper script long back to organize and set up Kubernetes contexts across multiple GCP projects and environments, with custom naming based on cluster labels. I also created another script to handle all EKS clusters across AWS regions using a specified AWS SSO profile.