Go Interface Go has different approaches to implement the concepts of object-orientation. Go does not have classes and inheritance. Go fulfill these…
reflect
-
-
Go Sorting Go has sort package which can be used for sorting the built-in as well as user defined data types. The…
-
Go Constants A constant const contains data which is not changed. This data can only be of type boolean, number (integer, float…
-
Go JSON Go has built-in support for JSON encoding and decoding. it also supports custom datatypes. The Marshal function is used to…
-
Go Strings The Go string is a sequence of variable-width characters. Go strings and text files occupy less memory or disk space.…
-
Go Continue Statement The continue is used to skip the remaining part of the loop, and then continues with the next iteration…
-
Go Map In Go, Maps is an unordered collection of key and its associated value. They are very good for looking up…
-
Go Struct In Go, Struct can be used to create user-defined types. Struct is a composite type means it can have different…
-
Go Data Types Variables can be of different types like int, float, struct, slice or it can be of the interface. The…
-
Go Mutex Mutual Exclusion locks, or mutexes can be used to synchronize access to state and safely access data across many goroutines.…