GoLang Fundamentals — Part II

Sangramsing Kayte
2 min readFeb 1, 2024

How functions are Linked to Struct in Golang

In Golang, functions can be associated with structs through a concept known as methods. Methods are functions that are linked to a certain struct type. They enable you to combine data and behavior, resulting in a more ordered and manageable code.

--

--

Sangramsing Kayte

I am a Machine Learning Scientist with over 9+ years of experience in both the Industrial and Research & Development domain.