Golang
How to pass parameters to function in GO [SOLVED]
In this tutorial we covered different scenarios to pass parameters to golang function. Pass int, string, float as parameter or pass map and channel as parameter …
Golang cast to string from different data types [SOLVED]
golang cast to string by converting Int type to string, converting Interface type to string, converting Boolean type to string
Golang Bool to String Type Casting [2 Methods]
There are 2 methods to convert golang bool to string type. We can use FormatBool() function or Sprintf() function for the type casting
Golang Compare String PROPERLY [3 Methods]
golang compare strings using comparision operators, compare() method or equalof() method
Golang Optional Parameters [Usage & Examples]
Different methods to use golang optionals parameters are Variadic function, Optional string parameters, Optional numerical parameters, Optional struct …
