New to Golang, struggling to build projects and need guidance

Hey everyone,

I’m a beginner programmer with my first language being JavaScript. Most of my experience has been in frontend development with React and Vue, but I’ve also worked with Node.js in the past for backend stuff.

Recently, I decided to learn Golang because I want to shift my focus and become a backend engineer. I’ve been going through “Go By Example,” so I have a basic understanding of the syntax and concepts, but now I’m feeling pretty frustrated because I don’t know how to take the next steps.

For those who’ve been in my shoes, what resources, tutorials, or project ideas helped you break through these roadblocks? Any advice on structuring Go projects or connecting to databases would be greatly appreciated!

Thanks in advance!

The first step is to try to write a web service independently using Golang’s standard library, which is a very valuable route for beginners, which involves knowledge of networking, serialization, databases, etc., through which you can transition to Golang’s newbie period.
Note that I’m mainly talking about the standard library, so it would be better to learn gorm directly in addition to the database. net/http is a classic standard library that is well worth learning and using. (Personally, it is not recommended for newbies to learn a framework similar to GIN directly)
As for tutorials, I don’t think there’s a better way to do that than to explore and learn spontaneously. (As you said, you already know the basic syntax, so you should write something.) )

Hi, You can try to port one application you worked in the past to go. Also you can use something like Introduction · Build web application with Golang or https://lets-go.alexedwards.net/. There is a lot of resources in the web…

I would recommend you to learn first these things in order:

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