You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
Following discussion on #11 ,I concluded that what I'm seeing is a more specific issue.
The upgrade from go 1.17.11 to 1.18.3 resulted in an increase in LunarVim startup time from
about 1s to something over 8s. I confirmed that this is a goldsmith specific issue - if I
remove goldsmith from my config.lua, startup time drops to some hundreds of ms.
I also note that GoInstallBinaries seems to fail:
Goldsmith: GoInstallBinaries: starting retrieval of gofumpt
Goldsmith: GoInstallBinaries: starting retrieval of golangci-lint
Goldsmith: GoInstallBinaries: starting retrieval of golines
Goldsmith: GoInstallBinaries: starting retrieval of gomodifytags
Goldsmith: GoInstallBinaries: starting retrieval of gopls
Goldsmith: GoInstallBinaries: starting retrieval of gotests
Goldsmith: GoInstallBinaries: starting retrieval of impl
Goldsmith: GoInstallBinaries: starting retrieval of jsontostruct
Goldsmith: GoInstallBinaries: starting retrieval of revive
Goldsmith: GoInstallBinaries: starting retrieval of staticcheck
Goldsmith: GoInstallBinaries: FAILED in retrieval of gofumpt, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of golines, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of golangci-lint, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of gotests, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of impl, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of gomodifytags, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of json-to-struct, code 1
Goldsmith: GoInstallBinaries: FAILED in retrieval of gopls, code 1
However, if I run go install github.com/segmentio/golines@latest from
command line, it works.
I guess it's most likely some issue with my go configuration but it's
still not clear to me what this could be.
The text was updated successfully, but these errors were encountered:
You may want to turn on debugging and bring up the :GoDebugConsole after running :GoInstallBinaries.
To turn on debugging you need a configuration file that has system.debug set to true:
require('goldsmith').config {
system = {
debug = true,
},
}
Following discussion on #11 ,I concluded that what I'm seeing is a more specific issue.
The upgrade from
go
1.17.11 to 1.18.3 resulted in an increase in LunarVim startup time fromabout 1s to something over 8s. I confirmed that this is a
goldsmith
specific issue - if Iremove
goldsmith
from myconfig.lua
, startup time drops to some hundreds of ms.I also note that
GoInstallBinaries
seems to fail:However, if I run
go install github.com/segmentio/golines@latest
fromcommand line, it works.
I guess it's most likely some issue with my
go
configuration but it'sstill not clear to me what this could be.
The text was updated successfully, but these errors were encountered: