Posts tagged with golang
-
Golang Absolute Value
To find the absolute value of a number in Golang, use math. The Abs() function. This function takes a float64 as input and returns a float64 as output.
-
A guide to anonymous functions in Golang
In Golang, anonymous functions are functions that are not bound to an identifier. They are also known as lambda functions or function literals.
-
Golang Atomic
In Golang, atomic is a package that provides low-level atomic memory primitives useful for implementing synchronization algorithms.
-
Golang Anonymous Structs
Anonymous struct is a struct without a name. It is used to create a struct on the fly without having to define a struct type.
-
Golang Append (A Complete Guide)
Append method is a built-in method in Golang used to append more elements to a slice.