https://github.com/difrex/emacs-go
go-mode confiuration for GNU Emacs
https://github.com/difrex/emacs-go
Last synced: 5 months ago
JSON representation
go-mode confiuration for GNU Emacs
- Host: GitHub
- URL: https://github.com/difrex/emacs-go
- Owner: Difrex
- Created: 2017-11-01T11:29:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T11:30:10.000Z (over 8 years ago)
- Last Synced: 2025-09-12T03:13:33.900Z (10 months ago)
- Language: Emacs Lisp
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* emacs-go
Easy Go configuration for GNU Emacs.
* Quick start
Install required go packages:
#+BEGIN_SRC
go get -t -v golang.org/x/tools/cmd/goimports
go get -t -v golang.org/x/tools/cmd/guru
go get -t -v github.com/rogpeppe/godef
#+END_SRC
Clone repository:
#+BEGIN_SRC
mkdir -p ~/.emacs.d/config
git clone https://github.com/Difrex/emacs-go ~/.emacs.d/config/golang
#+END_SRC
Add to your *init.el*:
#+BEGIN_SRC
(package-install use-package)
(add-to-list 'load-path "~/.emacs.d/config/golang")
(require 'go-config)
(configure-go-packages)
#+END_SRC
That's all ;)