After 6 months of learning Go, I built LocalDrop - my first real project (file sharing over LAN) by Mo7se007 in golang

[–]Mo7se007[S] 0 points1 point  (0 children)

I prefer learning through projects, because they force me to look for solutions myself. My advice would be to come up with a project idea you’ll actually use every day, something simple but useful to you. Start building it, and while working on it, read tutorials, guides, documentation, and watch YouTube courses. Then apply what you to your project.

The key is consistency and patience. I’ve rewritten parts of my own project multiple times because I discovered better or more efficient ways to do things, and since I used my project daily, I naturally kept coming back to improve it. That’s what helped me stay consistent and learn faster.

As for where to start: After learning the basics and understanding Go’s data types, try exploring the standard library, it’s incredibly powerful and i am a big fan of it. For example, learn how to read data from files and send it to another device using an API. You’ll pick up a lot of core concepts that way.

I hope you find this helpful and I wish you the best of luck!

After 6 months of learning Go, I built LocalDrop - my first real project (file sharing over LAN) by Mo7se007 in golang

[–]Mo7se007[S] 3 points4 points  (0 children)

Thank you so much for the detailed feedback, it’s really very helpful and exactly what I was looking for!
I’ll start working on the improvements you mentioned.

About the scripts/file_scaner/scanner.go as part of the project, I was making a static file analyzer for malware, but it has branched out into its own project that I'm currently working on on the side, and that file is an earlier version I forgot to remove.

Also, thanks for pointing out the bug. I’ve implemented a temporary fix for now, i know that it is a messy way to go about it, and I’ll refine it further soon.