Understanding Pointers in Go: From Basic Concepts to unsafe Package

Regular Pointers Pointers in Go are specialized varible types that store the memory address of another variable. While not as frequently used as in C or C++, pointers remain essential for modifying variables within functions, avoiding expensive large object copies, and implementing data structures like linked lists and trees. Fundamental Concep ...

Posted on Fri, 08 May 2026 18:09:50 +0000 by brownca

Working with Strings, Time, Control Flow, and Functions in Go

String Manipulation with strings and strconv Packages The strings package provides various functions for string manipulation: HasPrefix(s string, prefix string) bool - Checks if string s starts with the specified prefix HasSuffix(s string, suffix string) bool - Checks if string s ends with the specified suffix Index(s string, substr st ...

Posted on Fri, 08 May 2026 17:02:42 +0000 by waradmin