How to start Go like a pro

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

 

By |November 14th, 2018|Categories: How to, The Code|

About the Author:

Senior lead developer currently working in Java, architecture design, mix of tech from Front-end in JS and templating to chef,rundeck etc. For fun and challenge I am writing different blog posts from stories to poems, programming tutorials and many more. Currently working on my Masters degree on a part-time basis.