branch: elpa/go-mode
commit e035e60b361dfea1ecf9861859558056df08abc9
Author: Dominik Honnef <[email protected]>
Commit: Dominik Honnef <[email protected]>
Mention GOPATH detection in README
---
README.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/README.md b/README.md
index 7176f2e..ca26b9c 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,15 @@ the following extra features to provide an improved
experience:
All of these functions accept a prefix argument (`C-u`), causing
them to skip anonymous functions.
+- GOPATH detection – the function `go-guess-gopath` will guess a
+ suitable value for GOPATH, based on gb or wgo projects, Godeps and
+ src folders for plain GOPATH workspaces. The command
+ `go-set-project` uses the return value of `go-guess-gopath` to set
+ the GOPATH environment variable.
+
+ You can either call `go-set-project` manually, or integrate it with
+ Projectile's project switching hooks, or any other means of
+ switching projects you may employ.
# Installation