Skip to content

A simple Hello World application written in Go.

Notifications You must be signed in to change notification settings

AaronCTech/hello-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

hello-go

A simple Hello World application written in Go.

Prerequisites

Getting Started

run "git clone https://github.com/AaronCTech/hello-go.git" in your favorite project directory on your computer to download the project. GitHub will also allow a direct download via a zip file from the project.

Running the application

To run the application, open your favorite command line tool (CMD/Powershell/Bash), enter the hello-go directory, and run "go run main.go". This will invoke Go's built in run tool, and display "Hello Go!" in your command window.

Building an executable

To build a binary, run "go build ." from the hello-go directory, and you will see a new file "hello-go.exe" appear if you are on Windows, or "hello-go" appear on Linux. These are standalone applications, and can be executed on ANY system without the need to install any dependencies.

It should be noted that it is possible via command arguments to build Linux binaries from Windows, and vice versa!

About

A simple Hello World application written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages