Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
stefanos82
· 1y ago · 0 comments
This is really amazing, thank you so much!
Comments
[–]
listeria
1y ago
It's called struct embedding, there an article about it in Go by Example if you're interested:
https://gobyexample.com/struct-embedding
[–]
stefanos82
OP
1y ago
Thank you @listeria, today I learned about struct embedding lol!
[–]
genghisjahn
1y ago
I rediscover this about once a year and am always so happy when I do.