Open in app

Sign in

Write

Sign in

Alen Alex
Alen Alex

9 Followers

Home

About

Mar 7, 2022

Inheritance in Go

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…

Go

2 min read

Go

2 min read

Alen Alex

Alen Alex

9 Followers

Software Engineer @ Google

Following
  • Mechanics Team

    Mechanics Team

  • Juan España

    Juan España

  • Rory Braybrook

    Rory Braybrook

  • Fahim ul Haq

    Fahim ul Haq

  • David Klempfner

    David Klempfner

See all (82)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams