This is a go lang Printf cheat sheet post. Essentially it is very similar to the one in C. Just like the one in C, Printf really prints the string in a formatted way. It is very convenient to have a cheat sheet since I always forget unless I use it frequently. This mainly focuses READ MORE
Month: July 2021
Go lang – iota and constants
In programming languages such as C++ and Java, there is Enum type which is used frequently. In go language, you can use iota to represent an Enum type. Let’s take a look at a simple example Example Let’s say you want to define variables to represent weekdays. In that case, you probably just want to READ MORE