Introduction to A Tutorial for the Go Programming Language:
The paper is about introduction to the basics of Programming language named GO. It is for programmers with c or c++ knowledge. This project describes the language specification with a series of programs implementing key features of the language.
In Go programming every source file is declared using a package statement i.e. package which it belongs to and make use of other packages also. In this programming Functions are also declared with keyword ‘func’. And the program starts its execution from the main function only. A string constant contains Unicode characters encoded in UTF-8.
The declaration of comment is similar to that of declaration in c++ /* … */. Regarding the semicolon we can notice that our general program has no semicolons. In our coding we notice semicolons only in separating clauses of for loops. They are inserted automatically at end of every line and no need to type them.
Go is a compiled language with two compilers named Gccgo which is a Go compiler that uses as GCC back end. There are also a set of compilers with different names for each architecture: 6g for the 64-bit x86, 8g for the 32-bit x86 and more. These compilers run faster but generate less code compared to that of Gccgo. Go defines variables of types such as int8, float64 and also unsigned integers like uint, uint32 and more.
With channels, it is possible to serve multiple clients without writing explicit multiplexer. This covers some of the basic topics in general about Go programming language.
In this paper we have introduced a new programming language GO. This is easily understood by the programmers with c or c++ background. And in detail about the language is given.
Download A Tutorial for the Go Programming Language for CSE Students.