How to iterate over a Map in Golang
How to iterate over a Map in Golang using the for range loop statement.
Strings functions in Golang
List of Golang string functions tested example and short description.
The strings
package provides many useful string-related functions.
Maps in Golang
Golang maps implements a hash table. Hash tables are one of the most used data structure. A hash table is an unordered collection of key-value pairs, where each key is unique.
For loop examples in Golang
How to write a for
loop using Golang programming language. Similar with other programing languages, the basic for
loop has three components separated by semicolons.
Interfaces in Golang
Interfaces are collections of method signatures. A interface type can hold any value that implements those methods. The empty interface is an interface type that specifies zero methods. A type assertion provides access to an interface underlying concrete value. Two interfaces are equal if they have equal concrete values and identical dynamic types, or if both are nil.
All keywords in Java
Keywords are special words in the programing language which have reserved use in the language. Keywords may not be used as identifiers in Java; for example you cannot declare a field whose name is a keyword.