spacemacs/contrib/lang/go
2015-01-09 23:46:27 -05:00
..
img Change go logo to the one of the landing page of the official site 2015-01-09 23:46:27 -05:00
packages.el Explicitly add flycheck to the go layer 2015-01-09 23:09:16 -05:00
README.md

go contribution layer for Spacemacs

go

Table of Contents

Description

This layers adds extensive support for go.

Features:

  • gofmt on file save

Install

Layer

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(go)
  "List of contribution to load."
)

Working with Go

Go commands (start with m):

Key Binding            |                 Description

---------------------------|------------------------------------------------------------ SPC m d p | godoc at point SPC m i g | goto imports SPC m i a | add import SPC m i r | remove unused import SPC m p b | go-play buffer SPC m p r | go-play region SPC m p d | download go-play snippet