How to start Go like a pro

Go lang
Presentation of my personal setup and suggestion for preparing a nice Go environment and some other resources in which you can feel comfortable to start bashing out the code.

Lets have a quick lookup:

  • Visual Code :
    • On the Visual code install Go extension.
  • Go (duh)
    • But more importantly there are a nice of number tools that you would really want to run with Visual Code and Golang. Some of them are of course by default by some added later. They are (Of course check each tool separately if they apply to you):
      • addr2line
        asm
        buildid
        cgo
        compile
        cover
        dist
        doc
        fix
        link
        nm
        objdump
        pack
        pprof
        test2json
        tour
        trace
        vet
    • Didn’t really wish to go in depth on them since you can easily check them in more detail separately in a better source such as Dominik’s list of Go tools or Awesome go where you can also find a lot more necessary and useful information.
  • Some of the resources that i found useful while picking up the language and getting up to speed with it:
  • It’s good to think about tests
  • At some point you will really want to find an easier way for struct-ing your JSON thingies
Matjaz Trcek
Matjaz Trcek
SRE @ Magnolia CMS

Working as an SRE in Magnolia CMS. In my free time I work on many side projects some of which are covered in this blog.

Related