Posts

Showing posts from July, 2022

Go Programming Fundamentals

Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  12 : Variables  compiler user type inference 13 Demo : Variables Package Main -- specifies that we have a main package And it allows us to have the func main ()  : Main function is the first function that is run when you run a go program . For most of the demo we will be utilizing the main package , along with the main function to implement and test out our different code. You will see that import the fmt package , fmt is the format package that is part of the standard library and it is used to print out information .   So we will print out information and creating variable in this program. The first thing that we do is create a string variable . fmt.println -- that is short for print line. to save it press control +s to run it - Open a terminal  package main import "fmt" func main () {   ...