Since Golang does not support classes, the concept of inheritance is achieved using interfaces and structs.
Then again, structs cannot directly extend from interfaces or other structs.
So, one could argue that Golang does not have inheritance Inheritance can be achieved in Golang in 3 ways. Implied inheritance using interfaces…