Skip to content

vybenetwork/eng-workshop-go-primer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vybe Engineering Workshop - GO Edition

In this edition of the Vybe Engineering Workshop, we'll be discussing Golang (GO). This repo provides a few examples of features that make GO very powerful and enjoyable to code in. This is not an exhaustive lesson on all the features GO provides. It is meant as a 15 minute primer on the language, the ecosystem, and how to deploy GO programs for production.

Before you get started, follow this tutorial to make sure your local environment is set up with the latest verison of GO.

https://go.dev/doc/tutorial/getting-started

Presentation Topics

  1. Intro to a typical GO project structure.
  1. Local dev environment
  • Running your code
  • Testing
  • Building for different OS Architectures
  1. Go Syntax Basics
  • Modules, Exposing Functions, Types, and References
  • Variables, Stucts, Pointers
  • Maps and Slices
  • Loops, Channels, Select, Goroutines, Context

Exercises

  1. Hello World
  • The main.go file
  • Printing to the console
  • Flags
  1. Asynchronous Coding
  • Creating a channel
  • Creating a Gorouting
  • Listening for events

To dive deeper into GO and the ecosystem, check out the following resources.

Resources:

About

Internal engineering workshop to introduce GO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages