Getting Started with Go: Functions & Object Orientation
Go 1.16
| Beginner
- 12 Videos | 1h 7m 18s
- Includes Assessment
- Earns a Badge
Go is a statically-typed, multi-paradigm programming language supporting functional and procedural programming, and while Go is not an object oriented programming language out of the box, it does provide types and methods that can conveniently be used to emulate object oriented programming. In this course, you'll explore how to define and write functions and you'll learn how functions can be declared with receivers to create methods in Go. You'll explore how pointers and pointer variables are used in Go and you'll learn how to experiment with structs as objects and interfaces that explicitly define the relationship between objects. You'll explore how data types in Go can have state and behavior associated with them, and lastly, you'll explore how a lightweight form of object orientation is achieved in Go.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courserecognize how functions and methods are created and used in Gorecognize how object orientation can be achieved in Go even though it is not strictly an object oriented languagedeclare and write functions in Gouse parameters to pass data to functions in Gowork with data returned by functions in Go
-
declare and call variadic functions in Godefine and initialize structs in Gocreate and work with methods in Goimplement an interface in Go to define a method setcreate a structured data type as an object in Go with methods that can interact with itsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 39sUP NEXT
-
2.Functions and Methods in Go5m 52s
-
3.Object Orientation in Go6m 48s
-
4.Declaring and Writing Functions in Go5m 36s
-
5.Passing Parameters to Functions in Go10m 45s
-
6.Returning Data from Functions in Go5m 50s
-
7.Working With Variadic Functions in Go6m 31s
-
8.Defining and Initializing Structs in Go8m 53s
-
9.Declaring and Writing Methods in Go4m 31s
-
10.Working with Interfaces in Go5m 11s
-
11.Creating and Interacting with Objects in Go4m 46s
-
12.Course Summary56s
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.