Trying to learn Golang, any tips ?
Fadhil ⚡

Fadhil ⚡ @fadhilsaheer

About: I'm a self-taught full stack developer, who loves to bring Ideas to life ╰(*°▽°*)╯

Location:
Kerala, India
Joined:
Jan 21, 2022

Trying to learn Golang, any tips ?

Publish Date: Jun 4 '22
22 14

Hello world 👋,

So lately I decided to try Golang, As a lazy developer & using Javascript/Typescript for literally everything, I decided to use something new.., I primarily focus on backend development. So after some research I decided to learn Golang.

TBH I have no idea, how to get started & use Golang for my projects.

So how I'm i supposed to use Golang as a backend developer?

Help me

Comments 14 total

  • Clavin June
    Clavin JuneJun 5, 2022

    maybe you can try translate your previous backend project from typescript to golang

    • Fadhil ⚡
      Fadhil ⚡Jun 6, 2022

      Is there any resource for backend development with golang ?, like making REST api, using Graphql & websocket etc.

  • 🚩 Atul Prajapati 🇮🇳
    🚩 Atul Prajapati 🇮🇳Jun 5, 2022

    Be focused to learn it, don't distract with other shiny objects :| peace

    target

  • FJones
    FJonesJun 5, 2022

    First of all, the Tour of Go on the website is a really good start to get familiar with the language and its concepts.

    After that, I would recommend thinking about what kind of high-throughput services you have on the backend a lot (external systems you cache regularly, database lookups, complex transformations, things like that), and build an example of that in Go.

    • Fadhil ⚡
      Fadhil ⚡Jun 6, 2022

      Is there any website like Tour of Go but for backend ?, If that exist that might be very helpful, Thanks for the tip btw :)

      • FJones
        FJonesJun 6, 2022

        I'm not sure which part of backend you're asking about specifically (since even the Tour goes into some detail on common backend processes, concurrency, and relatively common modules), but the Tour also references web application tutorials at the end, as a jumping-off point, which in turn can be tested on the Playground to an extent.

  • dnasedkina
    dnasedkinaJun 5, 2022

    Hope you learn quickly, the company I work at reinforces their team of go engineers regularly :)

  • Anon
    AnonJun 5, 2022

    For the first week or two, I also like to do easy level hackerrank problems with the golang cheatsheet in hand, to practice internalizing the syntax and standard library.

    I also picked out some libraries I found interesting (e.g. yourbasic/graph) and practiced using them with go's playground. The playground let's you import external libraries, you just need to use a special syntax to add the library.

    • Fadhil ⚡
      Fadhil ⚡Jun 6, 2022

      Thanks for the tip, I guess this might be the better way to get hands on with go.

  • Israel Blancas
    Israel BlancasJun 6, 2022

    I'll give you the same advice I give to everyone who asks me how to learn a new language: create an open source project. That's the best way to learn."A project about what?" Whatever thing is OK. A calculator implemented as a REST API, a CLI to manage your stuff in Google Drive, an application to get information from Twitter about one topic and count how many new tests per hour are created about that. Doing stuff you'll find the correct path :)

  • dlapanik
    dlapanikJun 7, 2022

    Tons of libraries and frameworks: awesome-go.com/
    Some of them:
    github.com/gofiber/fiber
    github.com/valyala/fasthttp
    github.com/gogearbox/gearbox

    even better list of web frameworks can be taken from their benchmark:
    github.com/smallnest/go-web-framew...

  • Ehtisham-sudo
    Ehtisham-sudoJun 15, 2022

    exercism.org/tracks/go

    come join us. me and a friends working on a crypto bot project we designed in
    python but it was working with threads and later we decided to shift whole thing in golang. currently we are learning go for that project. We welcome you to the clan

  • Bob Firestone
    Bob FirestoneJun 16, 2022

    When I was getting started learn go with tests helped me a ton quii.gitbook.io/learn-go-with-tests

    Jon Calhoun’s blog and courses are really good. He has a few free courses. His paid courses are not cheap but I think the content is worth it. calhoun.io/

Add comment