Advanced Programming in Go: Deep Dive into Packages

Go 1.16    |    Intermediate
  • 13 videos | 1h 18m 45s
  • Includes Assessment
  • Earns a Badge
Likes 1 Likes 1
All Go programs are composed of one or more packages. Packages organize Go source code in a way that makes the code easily reusable and readable. Packages essentially allow you to take one or more source code files and compartmentalize them into a single unit. In this course, you'll explore what Go packages are and why they are used. You'll examine best practice for working with Go packages and learn about working with modules and packages. Next, you'll learn about package names and how to declare and import packages. Finally, you'll explore how to create and use custom packages and nested packages, as well as how to use the init() function in Go to initialize an application.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    define what a package is in Go programming
    describe why packages are used in Go programming
    employ best practices for naming packages and package components
    create and use nested packages in Go
    declare and configure packages in Go
    import packages and identify when to use a blank import
  • use alternative methods for importing packages
    document custom packages in Go
    recognize best practices for working with packages
    recognize when and how to use the init() function to initialize an application
    create and work with modules and packages
    summarize the key concepts covered in this course

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.