Add GOPATH Hugo building tip
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 9 Oct 2018 09:09:00 +0000 (11:09 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 9 Oct 2018 09:09:00 +0000 (11:09 +0200)
.gitignore
CONTRIBUTING.md
go.mod

index 032a643c9db5a5f6443989f81c226c22cad3d173..568492d85aaad60ea3f5248890c6bf0b41d4347e 100644 (file)
@@ -19,3 +19,6 @@ dock.sh
 
 GoBuilds
 dist
+
+
+vendor
\ No newline at end of file
index a04605489a1e33a737e8ef203c5ef4e60adaa095..7fac4dc860ccbf98c82a0a27177d07456faa0ff2 100644 (file)
@@ -113,6 +113,8 @@ cd hugo
 go install
 ```
 
+>Note: Some Go tools may not be fully updated to support Go Modules yet. One example would be LiteIDE. Follow [this workaround](https://github.com/visualfc/liteide/issues/986#issuecomment-428117702) for how to continue to work with Hugo below `GOPATH`.
+
 For some convenient build and test targets, you also will want to install Mage:
 
 ```bash
diff --git a/go.mod b/go.mod
index 62f22531fff25f48e012c1dcb1b0e5f51e756b31..36fdf260b9ae850e7f7e353ee7d6d9cacdef3ae7 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -58,7 +58,7 @@ require (
        github.com/wellington/go-libsass v0.0.0-20180624165032-615eaa47ef79 // indirect
        github.com/yosssi/ace v0.0.5
        golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81
-       golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
+       golang.org/x/net v0.0.0-20180906233101-161cd47e91fd // indirect
        golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
        golang.org/x/text v0.3.0
        gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect