Go Practice: Functions

Go Practice: Functions

38mBeginner2023-09-14

Authors

Adelina Simion

Adelina Simion

Software Engineer and Technology Evangelist

Course details

Join instructor Adelina Simion In this hands-on, interactive course to practice writing and performing basic functions in Go, the popular, statically typed, open-source programming language from Google. This course includes Code Challenges powered by CoderPad. Code Challenges are interactive coding exercises with real-time feedback, so you can get hands-on coding practice to advance your coding skills. Adelina helps you boost your skills as a Go programmer using five specific, query-focused coding challenges. Along the way, practice using basic functions, deferred functions, functions as parameters and return values, concurrent functions, and generic functions.

Skills covered

GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

Introduction

  • It's time for Go code challenges
  • What you should know

Basics

  • Introduction to functions
  • Solution - Introduction to functions

Deferred Functions

  • Recover from panics
  • Solution - Recover from panics

Functions as Parameters and Return Values

  • Function composition
  • Solution - Function composition

Concurrent Functions

  • Goroutines and channels
  • Solution - Goroutines

Generic Functions

  • Handling multiple data types
  • Solution - Handling multiple data types

Conclusion

  • Where should you Go from here
40,000 Toman