DEV Community

Cover image for Golang perk series : underlying type #8
LG
LG

Posted on

1

Golang perk series : underlying type #8

Just like for you, underlying types is a new subject for me as well . For a starter I am sharing this codebase , whereas I defined a function & method as 2 in 1 in order not only to touch each case at once, but show that they technically could be method & function simultaneously :


Yes, I know, I have promised you interfaces, they coming for sure soon !

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay