Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 869 Bytes

README.md

File metadata and controls

65 lines (38 loc) · 869 Bytes

Assorted-Golang

Example code, Codewars katas and a compiler for the Monkey programming language.


Installation

Ben Davis has a nice video walk through on how to install Go and set up the path variable


Syntax primer

"Learn X in Y minutes" has a good introduction to Go


To run a single main.go file

go run main.go

To create a go.mod file for a project

go mod init name-of-project

To compile a project that has a go.mod file

go build

To run a project

./name-of-project

To compile and run a project

go build && ./name-of-project

Video course

The FreeCodeCamp YouTube channel has a beginners course to get you started.