Skip to content

Instantly share code, notes, and snippets.

@martensonbj
Created July 1, 2019 18:30
Show Gist options
  • Save martensonbj/022fc190f7b2efbaffa602e1fdb80e3f to your computer and use it in GitHub Desktop.
Save martensonbj/022fc190f7b2efbaffa602e1fdb80e3f to your computer and use it in GitHub Desktop.
The high level outline of a potential Go workshop for Front End Masters

Intro To Go Outline

Modified from a workshop given at DinosaurJS 2019

Description

Go is becoming an increasingly necessary tool in the belt of “languages you should know to be relevant.” Although the beauty of the language is in its simplicity, the transition from JavaScript can be a little bumpy. In this workshop, we’ll work through the basic of Go, paying particular attention to pitfalls you may encounter transitioning from a language like JavaScript.

Target Audience

This workshop is designed for developers with little to no Go experience.

It is ideal for those with knowledge of JavaScript or another similarly dynamic language.

For the optimal experience, audience members should be comfortable in a code editor, the command line, and working with git and github.

There will also be the option to follow along in a Go playground for much of the session.

Prerequisite Setup

To follow along through all of the code examples, please install Go prior to attending. Ensure that you see a version number when running go version in your terminal.

You can install Go through the docs.

Topics Covered

  1. Background and brief history of Go
  2. Installation and environment setup
  3. Basic go syntax and structures
  4. Error handling
  5. Concurrency with Goroutines & channels

Code Along

Throughout the workshop we will be building a series of small Go apps that demonstrate the topics discussed.

The progression of apps will be similar to the following:

  1. Build a basic Hello World
  2. Build TODO list with a Go html template
  3. Build endpoints to hit a third party API
  4. Potentially build more of an internal backend and/or add concurrency to the API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment