Skip to content

Commit

Permalink
gopls: update to 0.4.3.
Browse files Browse the repository at this point in the history
0.4.3

Disable the fillstruct analysis by default.
We recently uncovered some performance issues with the analysis, leading us to disable it by default.
Once those issues are resolved, we will enable it by default again.
You can still enable it by adding the following to your VS Code settings:

"gopls": {
	"analyses": {
		"fillstruct": true,
	}
}


gopls/v0.4.2

    Significant memory improvements (@heschik). Dependency test variants and vendored packages are no longer considered "workspace packages".
    Smart autocompletion for "append" (@muirdm).
    A "fill struct" code action to suggest populating a struct literal with default values (@luciolas, @joshbaum).
    Better cgo support with Go 1.15 (@heschik). Learn more: golang/go#35721 (comment).
    Code lens to run Go tests directly in the editor (@martskins). Currently opt-in:

"gopls": {
    "codelens": {
        "test": true,
    }
}

    Improved folding in composite literals (@joshbaum).
    Pop-up suggestion to run go mod vendor when inconsistent vendoring detected (@stamblerre).
    Respect GOPRIVATE for all document links and links on hover (@findleyr).
    A full list of issues resolved in this release can be found in the gopls/v0.4.2 milestone.

gopls/dev.go2go: You can use the new go2go prototype with gopls. See golang/go#39619.
  • Loading branch information
0-wiz-0 committed Jul 31, 2020
1 parent b8b9a77 commit eac5c29
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 29 deletions.
34 changes: 26 additions & 8 deletions devel/gopls/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.6 2020/07/17 18:04:23 bsiegert Exp $
# $NetBSD: Makefile,v 1.7 2020/07/31 09:12:58 wiz Exp $
#
# Release notes:
# https://github.com/golang/go/issues/33030
# https://github.com/golang/tools/releases

DISTNAME= gopls-0.4.1
PKGREVISION= 2
DISTNAME= gopls-0.4.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= tools
Expand All @@ -25,44 +24,63 @@ GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.mod
GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.zip
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.0.mod
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.1.mod
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.1.zip
GO_MODULE_FILES+= github.com/google/renameio/@v/v0.1.0.mod
GO_MODULE_FILES+= github.com/google/renameio/@v/v0.1.0.zip
GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.zip
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.1.0.mod
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.1.0.zip
GO_MODULE_FILES+= github.com/kr/pty/@v/v1.1.1.mod
GO_MODULE_FILES+= github.com/kr/pty/@v/v1.1.1.zip
GO_MODULE_FILES+= github.com/kr/text/@v/v0.1.0.mod
GO_MODULE_FILES+= github.com/kr/text/@v/v0.1.0.zip
GO_MODULE_FILES+= github.com/pmezard/go-difflib/@v/v1.0.0.mod
GO_MODULE_FILES+= github.com/pmezard/go-difflib/@v/v1.0.0.zip
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.3.0.mod
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.5.2.mod
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.5.2.zip
GO_MODULE_FILES+= github.com/sergi/go-diff/@v/v1.1.0.mod
GO_MODULE_FILES+= github.com/sergi/go-diff/@v/v1.1.0.zip
GO_MODULE_FILES+= github.com/stretchr/objx/@v/v0.1.0.mod
GO_MODULE_FILES+= github.com/stretchr/objx/@v/v0.1.0.zip
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.4.0.mod
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.4.0.zip
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.1.27.mod
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.1.27.zip
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.mod
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190510104115-cbcb75029529.mod
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.mod
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.zip
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.0.0-20190513183733-4bf6d317e70e.mod
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.2.0.mod
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.2.0.zip
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190404232315-eb5bcb51f2a3.mod
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200226121028-0de0cce0169b.mod
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200226121028-0de0cce0169b.zip
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190911185100-cd5d95a43a6e.mod
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190911185100-cd5d95a43a6e.zip
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.mod
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.mod
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.zip
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.mod
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.zip
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191011141410-1b5146add898.mod
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191204190536-9bdfabe68543.mod
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191204190536-9bdfabe68543.zip
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v1.0.0-20180628173108-788fd7840127.mod
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v1.0.0-20190902080502-41f04d3bba15.mod
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v1.0.0-20190902080502-41f04d3bba15.zip
GO_MODULE_FILES+= gopkg.in/errgo.v2/@v/v2.1.0.mod
GO_MODULE_FILES+= gopkg.in/errgo.v2/@v/v2.1.0.zip
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.2.mod
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.4.mod
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.3.mod
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.3.zip
GO_MODULE_FILES+= mvdan.cc/xurls/v2/@v/v2.1.0.mod
GO_MODULE_FILES+= mvdan.cc/xurls/v2/@v/v2.1.0.zip
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.4.zip
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.4.mod
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.4.zip
GO_MODULE_FILES+= mvdan.cc/xurls/v2/@v/v2.2.0.mod
GO_MODULE_FILES+= mvdan.cc/xurls/v2/@v/v2.2.0.zip

.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
Loading

0 comments on commit eac5c29

Please sign in to comment.