Programming in Go


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Learning the fundamentals of a new programming language is vital to your success in utilizing the language to its fullest. In this course, you'll learn the skills required to use the Go programming language to write your own programs. This includes basic language syntax, working with variables, types, structs, slices, and maps. Additionally, flow control statements such as for, if, and switch are examined, and pointers, Goroutines, and channels are introduced.

Target Audience
This course is targeted towards individuals wanting to learn the basic skills required to write programs using the Go programming language. Previous programming skills in languages such as C, C++ or Java may be beneficial.

Prerequisites
None

Expected Duration (hours)
1.9

Lesson Objectives

Programming in Go

  • start the course
  • describe the background and basic features of the Go programming language
  • recognize a simple Go program and how it is created and executed
  • work with packages and imports, and recognize the more commonly used packages from the Go standard library
  • declare and initialize variables and constants in Go
  • work with pointers in Go programs, including passing by value and passing by reference
  • recognize the basic types in the Go language and describe type inference
  • work with functions, including passing arguments and returning values
  • recognize and work with the for statement in Go programs
  • recognize and work with the if statement in Go programs
  • recognize and work with the switch statement in Go programs
  • recognize and work with the defer statement in Go programs
  • write a Go program that uses flow control statements
  • work with arrays in Go programs, including declaring and initializing them
  • declare and initialize slices in Go programs
  • work with slices within functions and methods of your Go programs
  • manipulate Go slices using Go's built-in make, copy, and append functions
  • work with structs in your Go programs
  • declare, initialize, and manipulate maps in Go
  • recognize and work with some of the more advanced features associated with functions in Go
  • create and use methods in your Go programs
  • recognize and work with Go's implementation of interfaces
  • describe how concurrency is implemented in Go and the benefits of writing concurrent programs
  • recognize how to create a concurrent program in Go
  • describe the purpose of channels in Go programs and how to use unbuffered and buffered channels
  • write a Go program that creates and manipulates a slice
  • Course Number:
    sd_gopf_a01_it_enus

    Expertise Level
    Beginner