In-reply-to » I've started playing with Go today, just understood the basics and still a bit confused about the module and goroutine parts.

@justamoment@twtxt.net I haven’t touched the goroutines yet (I played with these like 10 years ago), but I haven’t found a case where I need these.

About the modules, those were very non-intuitive to me, coming from Python, C#, and JS. I think the official documentation from Go is not clear enough and has no simple examples…
After a few searches, I reached Stack Overflow and blogs with tips for Modules and subdirectories. Now, I can replicate an MVC model with templates.

This project helped a lot: https://github.com/J7mbo/go-subdirectories-with-modules

⤋ Read More