Go Programming Part 1 - Setting up Environment

in #golang7 years ago

Go Programming / Go Lang

  1. Download Go Lang from
    https://golang.org/dl/

  2. Download VS Code
    https://code.visualstudio.com/

install both of them,
open VS code and
create new file.
hello.go
paste following code.
save file.

// You can edit this code!
// Click here and start typing.
package main

import "fmt"

func main() {
    fmt.Println("Hello, 世界")
}

Open Terminal and
run following command
go build hello.go
you will a file
./hello

you will see Hello, World message on Screen

Sort:  

I want to learn this and Python

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.029
BTC 61956.82
ETH 2417.96
USDT 1.00
SBD 2.62