Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Core Go Programming

Packt via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this course, you will gain a deep understanding of Go programming, learning essential features such as functions, pointers, arrays, slices, conditionals, loops, and maps. You’ll begin by mastering the creation and calling of functions, using parameters and returning values, and even handling closures and named function literals. This foundational knowledge will allow you to write cleaner and more efficient Go code. The course then shifts to understanding pointers, showing how they are used for memory management and how they interact with functions. You'll explore arrays and slices in detail, learning how to create, assign, modify, and iterate over them. You’ll also dive into conditionals and loops, mastering if, switch, and for-range loops for managing program flow and iterations. By the end of the course, you'll be proficient in managing Go’s data structures such as maps, efficiently passing them to functions, and iterating through them. You'll be able to apply all the learned concepts to real-world Go development projects, ensuring you write high-quality, performant code. This course is suitable for beginners and those with some prior programming knowledge looking to deepen their understanding of Go. No advanced prior knowledge is required. By the end of the course, you will be able to define and call functions, manage memory with pointers, manipulate arrays, slices, and maps, handle program flow with loops and conditionals, and apply closures effectively.

Syllabus

  • Functions
    • In this module, we will introduce you to functions in Go, teaching you how to define, call, and pass parameters between them. You'll also explore advanced topics like closures and named return values to write cleaner, more modular code.
  • Pointers
    • In this module, we will cover pointers in Go, focusing on how to use them to access and modify memory. You'll also learn how to pass pointers to functions, allowing for more efficient memory management and deeper understanding of Go’s memory model.
  • Arrays and Slices
    • In this module, we will explore arrays and slices, focusing on their differences, uses, and how to modify slices. You'll learn how to create and handle both data structures effectively, and iterate over them for dynamic data manipulation.
  • Conditionals: if and switch
    • In this module, we will dive into conditionals in Go, focusing on if and switch statements to control program flow. You’ll learn how to manage multiple conditions effectively and use switch statements for cleaner code.
  • Loops: for and for-range
    • In this module, we will teach you how to use for and for-range loops for iterating over data in Go. You’ll also explore advanced loop control techniques with break and continue to ensure flexible and efficient iteration.
  • Map Type
    • In this module, we will introduce Go's map type, teaching you how to store key-value pairs and manipulate them. You’ll learn to check for key existence, delete entries, and use the make function for map creation and passing maps to functions for more flexible data handling.

Taught by

Packt - Course Instructors

Reviews

Start your review of Core Go Programming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.