How should I develop using GO Lang?

I studied GO lang basic syntax.
I usually make various classes based on the main method in c++ and develop using variables or methods inside.

However, GO does not have a class… how can i write code by separating functions?
I can write procedurally like C, but I don’t like it.
I would appreciate it if you gave me guide line (or sample ?)

I usually write code like this. (https://github.com/realbrotha/inotify_realtime/tree/master/src)

P.S This is simple inotify event test code in linux os.Don’t care about Korean Lang Hangeul and
Thank you for reading this messy post.

The web contains plenty of stuff about golang oop. Take a look at these:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.