Bug 260258 - [NEW PORT] devel/gopls: Go language LSP server
Summary: [NEW PORT] devel/gopls: Go language LSP server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL: https://pkg.go.dev/golang.org/x/tools...
Keywords: feature
Depends on:
Blocks:
 
Reported: 2021-12-06 21:40 UTC by Robert Clausecker
Modified: 2021-12-07 22:22 UTC (History)
1 user (show)

See Also:


Attachments
[NEW PORT] devel/gopls: Go language LSP server (3.62 KB, patch)
2021-12-06 21:40 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker 2021-12-06 21:40:12 UTC
Created attachment 229944 [details]
[NEW PORT] devel/gopls: Go language LSP server

Straightforward Go port.

***
gopls (pronounced "Go please") is the official Go language server
developed by the Go team.  It provides IDE features to any
LSP-compatible editor.

You should not need to interact with gopls directly---it will be
automatically integrated into your editor.  The specific features and
settings vary slightly by editor, so we recommend that you proceed to
the documentation for your editor below.

WWW: https://pkg.go.dev/golang.org/x/tools/gopls
***

Tested with Poudriere on armv7 arm64 i386 amd64 FreeBSD 13.
Portlint likes the port.
Comment 1 commit-hook freebsd_committer 2021-12-07 22:21:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7a1eabd4d361d0f659fadb7262935b252b9a757

commit d7a1eabd4d361d0f659fadb7262935b252b9a757
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-12-07 22:18:47 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2021-12-07 22:18:47 +0000

    devel/gopls: Add port: Go language server

    gopls (pronounced "Go please") is the official Go language server
    developed by the Go team.  It provides IDE features to any
    LSP-compatible editor.

    PR:             260258

 devel/Makefile              |  1 +
 devel/gopls/Makefile (new)  | 23 +++++++++++++++++++++++
 devel/gopls/distinfo (new)  |  5 +++++
 devel/gopls/pkg-descr (new) | 10 ++++++++++
 devel/gopls/pkg-plist (new) | 19 +++++++++++++++++++
 5 files changed, 58 insertions(+)
Comment 2 Juraj Lutter freebsd_committer 2021-12-07 22:22:41 UTC
Committed, thanks.