/golang-playground

Some golang snippets I prepared while on my third course of college to learn the language

Primary LanguageGo

A Go playground

Sample code snippets used to illustrate the Go programming language during a presentation on 27/09/2016

Compile a source file by using:

go build sourcefile.go

To run a precompiled executable:

./binary args    #   UNIX sys
binary.exe args  #   MS-DOS sys

Compile and run a source file, without saving anything on disk:

go run source_file.go

More Info: * A tour of Go * Go lang website

                                                Author: Miquel Àngel Román