less than 1 minute read

So I’ve recently started learning golang. It’s been a language that I’ve been keen to explore since its widely used under the hood for alot of infrastructure code.

I wanted to consolidate my patterns and learning process here.

Good learning resources for golang

Here are some good resources for learning golang

neovim plugins

The plugin that I am using is vim-go, which is slightly older but consolidates all the necessary plugins into neovim.

What I like most about it is that the formatting gofmt and goimports is configured in the init.vim file, this avoids autocommands required in the go.neovim plugin.

" Vim-Go
let g:go_fmt_command = "goimports"   " format imports with goimports
let g:go_fmt_autosave = 1            " autoformat on save

Categories:

Updated:

Leave a comment