Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 584 Bytes

readme.md

File metadata and controls

20 lines (16 loc) · 584 Bytes

Learning Go!

Using the amazing book by Jon Bodner: Learning Go An Idiomatic Approach to Real-World Go Programming

Create a Go Module

A Go project is called a module. A module is not just source code. It is also an exact specification of the dependencies of the code within the module. Every module has a go.mod file in its root directory.

go mod init <program_name>

Build a Go Program with

go build -o build/go_app

Run a Go Program with

./executable_name

Alternatively, just run make using the Makefile in the directory.