Google developers create a new programming language called GoLang which can change programmer view totally . Now a days , Programmer have unleash power . Power that only programmer can understand , why? Because no one , who can play beyond rules. Golang language easy simple and powerful. Don't follow me , follow your heart or explore what you want to do .
package main
import(
" fmt"
)
func main(){
fmt.Println("Hello World ! Go")
}
package main
when a programmer write a standalone application in Go. First programmer tells about standalone program or a library.
import (
"fmt"
)
If you work in c language what this line say, if you don't have . Don't worry . It's tells this program require fmt which is used for output or display message.
func
Golang provide a way to write a function . Programmer only need func
main
As you know all program start from main
fmt.Println("')
This is the easiest way to display message on the screen or console.
In next blog , i write how to run a golang program in your terminal, until now you can use
https://play.golang.org/ .
package main
import(
" fmt"
)
func main(){
fmt.Println("Hello World ! Go")
}
package main
when a programmer write a standalone application in Go. First programmer tells about standalone program or a library.
import (
"fmt"
)
If you work in c language what this line say, if you don't have . Don't worry . It's tells this program require fmt which is used for output or display message.
func
Golang provide a way to write a function . Programmer only need func
main
As you know all program start from main
fmt.Println("')
This is the easiest way to display message on the screen or console.
In next blog , i write how to run a golang program in your terminal, until now you can use
https://play.golang.org/ .
Comments
Post a Comment