SajjadAemmi / Go-HelloWorld

Some basic codes written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go HelloWorld

Go

Go is an open source programming language supported by Google that makes it easy to build simple, reliable, and efficient software.

Installation

Linux (Ubuntu)

sudo apt install golang-go

macOS

brew install go

Windows

Download the installer from here.

Then go to the desired directory and run:

go mod init example.com/hello

Usage

To run the program, type and run:

go run ./1_hello_world.go

If you want to save the program as an executable, type and run:

go build ./1_hello_world.go

About

Some basic codes written in Go


Languages

Language:Go 100.0%