Intro to Go Workshop
Presented by Mark Bates
This course is tailored to developers learning Go for the first time or having less than one year of Go development experience. This workshop will cover practical, daily Go fundamentals. Starting with the language fundamentals, students will move into interfaces and how they lend to embedding and composition in Go. We will finish up with an overview of concurrency in Go.
What a student is expected to learn
Everyone will have a strong understanding of language fundamentals, such as syntax and types, arrays, slices, maps, pointers and functions.
At least one year of production experience with another modern programming language. Beginners are highly encouraged to attend this training.Buy Tickets - $199
Agenda (4 hours)Tuesday, May 19, 2020
9:00 AM ESTIntroduction and setup
9:10 AM ESTStart Workshop
10:45 AM EST30 Minute Break
11:15 AM ESTWorkshop
1:00 PM ESTEnd Workshop
Mark Bates is a full-stack web developer with over 18 years of experience building high-quality scalable applications for companies such as Apple, USA Today, Klarna and Palm. He has written three books, “Distributed Programming with Ruby”, “Programming in CoffeeScript”, and “Conquering the Command Line”. Mark has spoken at conferences around the world, has led user groups such as Boston Ruby and Boston Golang, and has helped to organize conferences such as GothamGo and GopherCon. Mark is the co-founder of PaperCall.io, a platform for connecting technical events with high-quality content and speakers. Mark is also a partner at Gopher Guides, the industry leader for Go training and conferences. In his spare time Mark leads development of the Go web framework Buffalo.
This module covers general information about your instructor and course materials.
This chapter covers general environment setup and other resource related information needed to complete the courses contained within.
Syntax And Types
In this chapter we will cover the basic keywords and syntax of the Go language. You will learn the keywords, operators, and delimiters that make up the language. You will then move into Syntax and Types, as well as learn how strings are handled as well as UTF-8 text.
You will also learn about variables, constants, and iota. Then, using those concepts, how to create structs and initialize them.
Packages are how Go organizes code. It is also how scope and visibility are determined. This chapter will cover both executable and library packages. You will also learn how to create your own package and use it within another package.
Arrays And Iteration
Arrays in Go are useful when planning for detailed layout of memory. Using arrays can sometimes help avoid allocation. However, their primary use is for the building blocks of slices.
This chapter will cover the basics of creating, initializing, and indexing an array. It will also cover basic loop constructs and loop control basics.
Slices wrap arrays in Go, and provide a more general, powerful, and convenient interface to data sequences. In this chapter, you will cover slice basics such as creating, initializing, and iteration. You will also learn how to grow a slice, work with subsets of slices, and slice tricks.
Maps are a powerful built-in data structure that associates keys and values. In this chapter you will cover basic map creation, initialization, and iteration. You will discover how to determine if values exist in maps and how to update and delete map values.
A pointer is a type that holds the address to the value of a variable. In many languages, pointers are a source of pain and confusion. Go has made it easy to use and understand pointers. In this chapter you will learn about the difference between
pass by valueand
pass by reference. You will learn how to declare pointers, and how to reference values as pointers. The chapter will discuss performance and security and when to use pointers as well.
Functions in Go are a primitive type. This chapter will cover how to declare and call functions. You will cover how to send zero or many arguments, as well as receive zero or many arguments. Variadic arguments, defers, and panics will also be covered.
This chapter covers where to get more support on Go, recommends books and videos, and list the contact information for our instructors.