Y
Hacker News
new
|
ask
|
show
|
jobs
by
w-j-w
1653 days ago
Go solves this with problem with embedding. If a type is imbedded inside of a struct and has its own methods, those methods are implicitly available on the new struct.