'What is the equivalent of Java static classes in Golang? [duplicate]

I'm trying to reproduce to OOP concept of using static classes in Go. Yes, I know that there are no classes in Go, but maybe somebody has encountered the need for such functionality? If so, could you share your experience please?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source