Yusef Mohamadi·Jul 22, 2024Golang Functions vs Methods, why and when to use themTransitioning from object-oriented programming (OOP) languages to Go can be initially disorienting. In OOP, methods are intrinsically…
InTechKoala InsightsbyNithin Bharadwaj·Jul 3, 2024Interfaces in Go can do more than you think it can!In Go, methods are functions with a special receiver argument. The receiver can be a struct or any user-defined type. Defining methods…
InTechKoala InsightsbyNithin Bharadwaj·Jul 2, 2024Ever Wondered How to Organize Code in Go? Dive into Packages, Pointers & Methods!In Go, a package is like a toolbox filled with useful tools — functions and data — that help you accomplish specific tasks. Every Go…
Ramiz Raza·May 9, 2023Go (Golang) functions vs methodsIntent of this article is to explain difference between functions and methods in Go along with a simple to understand coding example.
InTowards DevbyLogesh·May 1, 2022Methods — GolangGo does not have classes. But we can define methods on types.