In Go language, there are a number of ways to print text on the console. The println function would make a new line after printing, while the print function would not. If we want to put variable content into the text, we can use the printf function and appropriate placeholders. If we want to save a string that will be printed into a variable, we can use the sprintf function.
Playlist of my Go language course
https://www.youtube.com/playlist?list=PLtQo0sxRN7JJCsYoijUK0glylvorq-F4p
Playlist of my JavaScript course
https://www.youtube.com/playlist?list=PLtQo0sxRN7JJQzQV_p_9RKy1eXVEmUIRl
Playlist of my HTML5 and CSS3 tutorials
https://www.youtube.com/playlist?list=PLtQo0sxRN7JIENxPo4cVWN8wbOjQZE3MX
Playlist of my algorithm walkthrough
https://www.youtube.com/playlist?list=PLtQo0sxRN7JLcH6q-PeqLz6ZtnYpDa4ul
Playlist of my Java course
https://www.youtube.com/playlist?list=PLtQo0sxRN7JLr647f8RTzS58u8Rv5jxT5
Playlist of my Java examples
https://www.youtube.com/playlist?list=PLtQo0sxRN7JKKla3_GAF05dySjyy3nINa
#golang #golangtutorial #golanguage #begincodingfast