August 2019
Beginner to intermediate
798 pages
17h 2m
English
You should know by now that Go does not use inheritance; instead, it supports composition. Go interfaces provide a kind of polymorphism. So, although Go is not an object-oriented programming language, it has some features that allow us to mimic object-oriented programming.
First, let me explain to you the two techniques that will be used in the Go program of this section. The first technique uses methods in order to associate a function with a type, which means that in some ways, the function and ...
Read now
Unlock full access