Advanced Programming in Go: Deep Dive into Packages
Go 1.16
| Intermediate
- 13 Videos | 1h 18m 45s
- Includes Assessment
- Earns a Badge
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 coursedefine what a package is in Go programmingdescribe why packages are used in Go programmingemploy best practices for naming packages and package componentscreate and use nested packages in Godeclare and configure packages in Goimport packages and identify when to use a blank import
-
use alternative methods for importing packagesdocument custom packages in Gorecognize best practices for working with packagesrecognize when and how to use the init() function to initialize an applicationcreate and work with modules and packagessummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 34sUP NEXT
-
2.Go Packages4m 22s
-
3.Rationale for Using Go Packages4m 46s
-
4.Naming Packages and Package Components8m 23s
-
5.Using Nested Packages in Go9m 24s
-
6.Declaring and Configuring Packages in Go7m 30s
-
7.Importing Packages4m 35s
-
8.Using Alternate Import Methods7m 13s
-
9.Documenting Custom Packages9m 5s
-
10.Package Best Practices6m 15s
-
11.Using the init() Function5m 33s
-
12.Working with Modules and Packages9m 5s
-
13.Course Summary1m 2s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.