Skip to content

Latest commit

 

History

History
104 lines (96 loc) · 4.02 KB

README.md

File metadata and controls

104 lines (96 loc) · 4.02 KB

Learning go


A simple repository for documenting and learning the basic functionality of go. The repository is simple, each module contains a main.go and the entrypoint to that module is the Run method. Creating multiple main functions in each package is not viable. The main.go in the root directory synchronously calls all the examples Run functions sequentially in line with the table of contents below.

All modules are exposed under the -module flag. To run a particular exercise, take the top level folder name and run it like so:

# To run the `closingchannels` examples.
go run . -module closingchannels

Table Of Contents: